Commit feb1e910 authored by Martin Rudalics's avatar Martin Rudalics
Browse files

(window--display-buffer-1): Don't care about

visibility since raise-frame does.
parent 40281995
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.
......
......@@ -885,8 +885,8 @@ is higher than WINDOW."
(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 @@ Do not deiconify the selected frame. Return WINDOW."
;; 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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment