projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e686f47
)
* lisp/ibuffer.el (ibuffer): Improve 'other-window' case. (Bug#23617)
author
Tino Calancha
<f92capac@gmail.com>
Wed, 8 Jun 2016 00:35:24 +0000
(20:35 -0400)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 8 Jun 2016 00:35:24 +0000
(20:35 -0400)
lisp/ibuffer.el
patch
|
blob
|
history
diff --git
a/lisp/ibuffer.el
b/lisp/ibuffer.el
index dd2687c4d8cf1cb8a5ccdbdbe5c6284c6d458d45..609524ccd205941ec5e37f423f23bd63a3d1d2b8 100644
(file)
--- a/
lisp/ibuffer.el
+++ b/
lisp/ibuffer.el
@@
-2341,7
+2341,8
@@
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
- (funcall (if noselect (lambda (buf) (display-buffer buf t)) #'pop-to-buffer) buf)
+ (or (and noselect (display-buffer buf t))
+ (pop-to-buffer buf t))
(funcall (if noselect #'display-buffer #'switch-to-buffer) buf))
(with-current-buffer buf
(save-selected-window