From: Lars Magne Ingebrigtsen Date: Sat, 9 Oct 2010 13:23:29 +0000 (+0200) Subject: * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~46^2~105 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf321e508bb17e6339b3482d9484cd12244c6433;p=emacs.git * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers behaviour, don't bury the ibuffer buffer when visiting other buffers. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 78601413508..1b38724aa87 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2010-10-09 Lars Magne Ingebrigtsen + + * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers + behaviour, don't bury the ibuffer buffer when visiting other + buffers. + 2010-10-08 Chong Yidong * cus-edit.el (custom-commands, custom-buffer-create-internal) diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 39a0bf0e859..4ba52cd2feb 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el @@ -1053,7 +1053,6 @@ If optional argument SINGLE is non-nil, then also ensure there is only one window." (interactive "P") (let ((buf (ibuffer-current-buffer t))) - (bury-buffer (current-buffer)) (switch-to-buffer buf) (when single (delete-other-windows))))