changeset 34790:feb593646d56

(server-switch-buffer): Choose a window on a visible frame.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 21 Dec 2000 15:57:01 +0000
parents 7ebf09eda05e
children 88b250e19382
files lisp/server.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/server.el	Thu Dec 21 15:39:58 2000 +0000
+++ b/lisp/server.el	Thu Dec 21 15:57:01 2000 +0000
@@ -508,7 +508,7 @@
       (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)