Skip to content

Commit 6fc4556

Browse files
rfkmcap10morgan
authored andcommitted
Make auto scroll work with repl buffer in non-selected frames
1 parent 4079e70 commit 6fc4556

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
@@ -6,6 +6,10 @@
66

77
* `cider-current-connection` actually, really considers major mode before `cider-repl-type`.
88

9+
### Bugs fixed
10+
11+
* [#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`.
12+
913
## 0.10.1 / 2015-01-05
1014

1115
### 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)