+2008-10-03 Martin Rudalics <rudalics@gmx.at>
+
+ * window.el (window--display-buffer-1): Don't care about
+ visibility since raise-frame does.
+
2008-10-03 Mario Lang <mlang@delysid.org>
* nxml/xmltok.el (xmltok-forward): Simplify.
(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)
;; 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))