]> code.delx.au - gnu-emacs/commitdiff
(ibuffer): Search iconified frames too when getting Ibuffer buffer's window.
authorJohn Paul Wallington <jpw@pobox.com>
Mon, 7 Nov 2005 01:30:29 +0000 (01:30 +0000)
committerJohn Paul Wallington <jpw@pobox.com>
Mon, 7 Nov 2005 01:30:29 +0000 (01:30 +0000)
lisp/ibuffer.el

index 9ff9d7b8f877095b5853b8b9cbc29f5a15818407..9406cf0a1b86899653dfb2cbfe86b0c476f76ad0 100644 (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)