mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-18 11:50:38 -08:00
Revert "* lisp/ibuffer.el (ibuffer): Improve 'other-window' case. (Bug#23617)"
This reverts commit cf3c19b029.
Do not merge to master!
This commit is contained in:
parent
50fa7d64d3
commit
1dd7b54a7e
1 changed files with 1 additions and 2 deletions
|
|
@ -2336,8 +2336,7 @@ FORMATS is the value to use for `ibuffer-formats'.
|
|||
(setq other-window-p t))
|
||||
(let ((buf (get-buffer-create (or name "*Ibuffer*"))))
|
||||
(if other-window-p
|
||||
(or (and noselect (display-buffer buf t))
|
||||
(pop-to-buffer buf t))
|
||||
(funcall (if noselect (lambda (buf) (display-buffer buf t)) #'pop-to-buffer) buf)
|
||||
(funcall (if noselect #'display-buffer #'switch-to-buffer) buf))
|
||||
(with-current-buffer buf
|
||||
(save-selected-window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue