Skip to content

Commit 5064287

Browse files
pdbrownbbatsov
authored andcommitted
Scroll repl buffer in other frame
after using cider-insert-in-repl.
1 parent f56fb01 commit 5064287

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
- Remove needless quotes from the choices of `cider-jack-in-auto-inject-clojure`.
1616
- [#2561](https://github.com/clojure-emacs/cider/issues/2561): Disable undo in `*cider-test-report*` buffers.
1717
- [#3251](https://github.com/clojure-emacs/cider/pull/3251): Disable undo in `*cider-stacktrace*` buffers.
18-
- Consecutive overlays will not be spuriously deleted.
18+
- Consecutive overlays will not be spuriously deleted.
19+
- [#3260](https://github.com/clojure-emacs/cider/pull/3260): Scroll REPL buffer in other frame.
1920

2021
## 1.5.0 (2022-08-24)
2122

cider-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ If EVAL is non-nil the form will also be evaluated. Use
229229
(when cider-switch-to-repl-on-insert
230230
(cider-switch-to-repl-buffer))
231231
(let ((repl (cider-current-repl)))
232-
(with-selected-window (or (get-buffer-window repl)
232+
(with-selected-window (or (get-buffer-window repl t)
233233
(selected-window))
234234
(with-current-buffer repl
235235
(goto-char (point-max))

0 commit comments

Comments
 (0)