# HG changeset patch # User Martin Rudalics # Date 1223032671 0 # Node ID 93f3b87e566625e0abf86a3019f5c8c3e9923316 # Parent 3bfda713e13ef94d2f34fd7af724022f4a93c275 (window--display-buffer-1): Don't care about visibility since raise-frame does. diff -r 3bfda713e13e -r 93f3b87e5666 lisp/window.el --- a/lisp/window.el Fri Oct 03 07:57:59 2008 +0000 +++ b/lisp/window.el Fri Oct 03 11:17:51 2008 +0000 @@ -885,8 +885,8 @@ (error nil))))) (defun window--display-buffer-1 (window) - "Deiconify the frame containing the window WINDOW. -Do not deiconify the selected frame. Return WINDOW." + "Raise the frame containing the window WINDOW. +Do not raise the selected frame. Return WINDOW." (let* ((frame (window-frame window)) (visible (frame-visible-p frame))) (unless (or (not visible) @@ -896,8 +896,6 @@ ;; is visible. (and (minibuffer-window-active-p (selected-window)) (eq frame (window-frame (minibuffer-selected-window))))) - (when (eq visible 'icon) - (make-frame-visible frame)) (raise-frame frame)) window))