Commit e5ccf0c1 authored by Karl Heuer's avatar Karl Heuer
Browse files

(server-switch-buffer): Don't select a minibuffer.

parent 351bd676
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment