1
0
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:
Karl Heuer 1994-03-03 21:13:08 +00:00
parent 351bd676ba
commit e5ccf0c17e

View File

@ -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))