(ibuffer): Search iconified frames too when getting Ibuffer buffer's window.

This commit is contained in:
John Paul Wallington 2005-11-07 01:30:29 +00:00
parent fda12b27a9
commit fab0d3087e

View file

@ -2288,7 +2288,7 @@ FORMATS is the value to use for `ibuffer-formats'.
(save-selected-window
;; We switch to the buffer's window in order to be able
;; to modify the value of point
(select-window (get-buffer-window buf 'visible))
(select-window (get-buffer-window buf 0))
(or (eq major-mode 'ibuffer-mode)
(ibuffer-mode))
(setq ibuffer-restore-window-config-on-quit other-window-p)