mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-13 16:38:14 +00:00
(server-switch-buffer): Don't select a minibuffer.
This commit is contained in:
parent
351bd676ba
commit
e5ccf0c17e
@ -326,6 +326,8 @@ Arg NEXT-BUFFER is a suggestion; if it is a live buffer, use it."
|
||||
(select-window server-window))
|
||||
((framep server-window)
|
||||
(select-window (frame-selected-window server-window))))
|
||||
(if (window-minibuffer-p (selected-window))
|
||||
(select-window (next-window nil 'nomini t)))
|
||||
(if next-buffer
|
||||
(if (and (bufferp next-buffer)
|
||||
(buffer-name next-buffer))
|
||||
|
Loading…
Reference in New Issue
Block a user