diff options
| author | Lars Magne Ingebrigtsen | 2010-10-09 15:23:29 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2010-10-09 15:23:29 +0200 |
| commit | cf321e508bb17e6339b3482d9484cd12244c6433 (patch) | |
| tree | 1033fb30ee76e7ce3e3755cdf8bbb98b50513519 | |
| parent | b845653dc0892fed76b7056f130ce9d4999d104d (diff) | |
| download | emacs-cf321e508bb17e6339b3482d9484cd12244c6433.tar.gz emacs-cf321e508bb17e6339b3482d9484cd12244c6433.zip | |
* ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
behaviour, don't bury the ibuffer buffer when visiting other
buffers.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 78601413508..1b38724aa87 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers | ||
| 4 | behaviour, don't bury the ibuffer buffer when visiting other | ||
| 5 | buffers. | ||
| 6 | |||
| 1 | 2010-10-08 Chong Yidong <cyd@stupidchicken.com> | 7 | 2010-10-08 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 8 | ||
| 3 | * cus-edit.el (custom-commands, custom-buffer-create-internal) | 9 | * 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 | |||
| 1053 | one window." | 1053 | one window." |
| 1054 | (interactive "P") | 1054 | (interactive "P") |
| 1055 | (let ((buf (ibuffer-current-buffer t))) | 1055 | (let ((buf (ibuffer-current-buffer t))) |
| 1056 | (bury-buffer (current-buffer)) | ||
| 1057 | (switch-to-buffer buf) | 1056 | (switch-to-buffer buf) |
| 1058 | (when single | 1057 | (when single |
| 1059 | (delete-other-windows)))) | 1058 | (delete-other-windows)))) |