Skip to content

Commit 621cc04

Browse files
committed
Merge pull request #1521 from rfkm/fix-sticky-prompt
Make auto scroll work with repl buffer in non-selected frames
2 parents 9306663 + bb39da9 commit 621cc04

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ and try to associate the created connection with this project automatically.
2020
* Requires Java 7 or newer.
2121
* Improve stacktrace presentation of compiler errors (readability, DWIM point positioning).
2222

23+
### Bugs fixed
24+
25+
* [#1521](https://github.com/clojure-emacs/cider/pull/1521): Don't assume the repl buffer is in the current frame in `cider-repl--show-maximum-output`.
26+
2327
## 0.10.1 / 2015-01-05
2428

2529
### Changes

cider-repl.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ This will not work on non-current prompts."
392392
(defun cider-repl--show-maximum-output ()
393393
"Put the end of the buffer at the bottom of the window."
394394
(when (eobp)
395-
(let ((win (get-buffer-window (current-buffer))))
395+
(let ((win (get-buffer-window (current-buffer) t)))
396396
(when win
397397
(with-selected-window win
398398
(set-window-point win (point-max))

0 commit comments

Comments
 (0)