From: Martin Rudalics Date: Tue, 21 Jun 2011 08:51:30 +0000 (+0200) Subject: Fix last fix of display-buffer-normalize-options. X-Git-Tag: emacs-pretest-24.0.90~104^2~493 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd168c0651be4fd71141ba19d54389b26258e5bb;p=emacs.git Fix last fix of display-buffer-normalize-options. --- diff --git a/lisp/window.el b/lisp/window.el index 605370aa176..4c56d7ffe11 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -5437,11 +5437,12 @@ options." ;; `pop-up-frames', `display-buffer-reuse-frames', and ;; `last-nonminibuffer-frame' set means search for a window shoing ;; the same buffer of another frame. - (let ((frames (or (last-nonminibuffer-frame) - (and (or use-pop-up-frames - display-buffer-reuse-frames) + (let ((frames (or (and (or use-pop-up-frames + display-buffer-reuse-frames + (not (last-nonminibuffer-frame))) ;; All visible or iconfied frames. - 0)))) + 0) + (last-nonminibuffer-frame)))) (when frames (setq specifiers (cons (list 'reuse-window 'other 'same frames)