changeset 98487:93f3b87e5666

(window--display-buffer-1): Don't care about visibility since raise-frame does.
author Martin Rudalics <rudalics@gmx.at>
date Fri, 03 Oct 2008 11:17:51 +0000
parents 3bfda713e13e
children 9dd7c9d75f4b
files lisp/window.el
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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))