From 8363063ec749db9da1a6134e053230036e4abdf5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 21 Dec 2000 15:57:01 +0000 Subject: [PATCH] (server-switch-buffer): Choose a window on a visible frame. --- lisp/server.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2