Skip to content

Commit

Permalink
Scroll repl buffer in other frame
Browse files Browse the repository at this point in the history
after using cider-insert-in-repl.
  • Loading branch information
pdbrown authored and bbatsov committed Nov 9, 2022
1 parent f56fb01 commit 5064287
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
- Remove needless quotes from the choices of `cider-jack-in-auto-inject-clojure`.
- [#2561](https://github.com/clojure-emacs/cider/issues/2561): Disable undo in `*cider-test-report*` buffers.
- [#3251](https://github.com/clojure-emacs/cider/pull/3251): Disable undo in `*cider-stacktrace*` buffers.
- Consecutive overlays will not be spuriously deleted.
- Consecutive overlays will not be spuriously deleted.
- [#3260](https://github.com/clojure-emacs/cider/pull/3260): Scroll REPL buffer in other frame.

## 1.5.0 (2022-08-24)

Expand Down
2 changes: 1 addition & 1 deletion cider-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ If EVAL is non-nil the form will also be evaluated. Use
(when cider-switch-to-repl-on-insert
(cider-switch-to-repl-buffer))
(let ((repl (cider-current-repl)))
(with-selected-window (or (get-buffer-window repl)
(with-selected-window (or (get-buffer-window repl t)
(selected-window))
(with-current-buffer repl
(goto-char (point-max))
Expand Down

0 comments on commit 5064287

Please sign in to comment.