Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a nil error when loading a code buffer and the error buffer is vi…
…sible (#1997) `(cider--quit-error-window)` has a side-effect - once the error window is "buried" by the call, the return value of function `(buffer-file-name)` becomes `nil`. That leads filename to be nil. The fix is pretty simple - pass the source code buffer explicitly to `buffer-file-name`.
- Loading branch information