]> git.eshelyaron.com Git - emacs.git/commit
New function erc-switch-to-buffer-other-window
authorAmin Bandali <bandali@gnu.org>
Tue, 14 Apr 2020 03:21:34 +0000 (23:21 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 14 Apr 2020 03:35:34 +0000 (23:35 -0400)
commit38f7538d8f62ee287e8271d048f1230d840c11a0
tree9182a733b4dd448b124cc63175509feac658a8e2
parentf84aed5fd233d59196d942acfb67bb4051c69cf1
New function erc-switch-to-buffer-other-window

* lisp/erc/erc.el (erc-switch-to-buffer): Factor out the buffer choice
implementation from here ...
(erc--switch-to-buffer): ... to here.
(erc-switch-to-buffer-other-window): New function, like
`erc-switch-to-buffer', but uses `switch-to-buffer-other-window'
instead, to open the buffer in another window.
etc/NEWS
lisp/erc/erc.el