From: Gerd Moellmann Date: Thu, 21 Dec 2000 15:57:01 +0000 (+0000) Subject: (server-switch-buffer): Choose a window on a visible X-Git-Tag: emacs-pretest-21.0.95~342 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8363063ec749db9da1a6134e053230036e4abdf5;p=emacs.git (server-switch-buffer): Choose a window on a visible frame. --- diff --git a/lisp/server.el b/lisp/server.el index e4a451c364a..1e7d51692cb 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -508,7 +508,7 @@ Arg NEXT-BUFFER is a suggestion; if it is a live buffer, use it." (select-window (next-window nil 'nomini 0))) ;; Move to a non-dedicated window, if we have one. (select-window (some-window (lambda (w) (not (window-dedicated-p w))) - 'nomini 0 (selected-window))) + 'nomini 'visible (selected-window))) (set-window-dedicated-p (selected-window) nil) (if next-buffer (if (and (bufferp next-buffer)