diff options
author | Lars Andersen <lars.andersen@gjensidige.no> | 2015-08-17 09:44:58 +0200 |
---|---|---|
committer | Lars Andersen <lars.andersen@gjensidige.no> | 2015-08-17 13:21:32 +0200 |
commit | 2cccb4571291e1bf7f0ba2c78a48cb89b17e1d0d (patch) | |
tree | e8ff34d2fe523e39ad0bd3688de73c5a2b414a51 /CHANGELOG.md | |
parent | a1e4d7ceba2a4cfb1aa00384a0ba3e6675897834 (diff) |
[Fix #1252] Fix breakage in cider-repl-clear-buffer
After running cider-repl-clear-buffer and then loading a file creating
output (e.g. because it contains println statements) the output would
appear in the wrong place, causing the prompt to disappear.
The problem was in the function responsible for putting POINT in the right
place before emitting evaluation results into the repl buffer. When the
prompt was the first line in the buffer,
cider-repl--end-of-line-before-input-start didn't move point at all.
cider-repl--end-of-line-before-input-start is now changed to move backward
past the cider-repl-prompt field in order to find the appropriate output
position.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5810c562..3f231cdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,7 @@ * Renamed `cider-repl-output-face` to `cider-repl-stdout-face` and `cider-repl-err-output-face` to `cider-repl-stderr-face`. ### Bugs fixed - +* [#1252](https://github.com/clojure-emacs/cider/issues/1252) `cider-repl-clear-buffer` stops working in certain circumstances. * [#1164](https://github.com/clojure-emacs/cider/pull/1164): Fix an error in `cider-browse-ns--doc-at-point`. * [#1189](https://github.com/clojure-emacs/cider/issues/1189): Don't show result from automatic ns form evaluation. * [#1079](https://github.com/clojure-emacs/cider/issues/1079): Don't try to font-lock very long results. The maximum font-lockable result length is controlled by `cider-font-lock-max-length`. |