mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(buffer-menu): Call pop-to-buffer before
list-buffers. Don't move point afterwards.
This commit is contained in:
parent
8eeac2cebd
commit
95b9ce23a1
1 changed files with 3 additions and 2 deletions
|
|
@ -163,9 +163,10 @@ Type q immediately to make the buffer menu go away and to restore
|
|||
previous window configuration."
|
||||
(interactive "P")
|
||||
;;; (setq Buffer-menu-window-config (current-window-configuration))
|
||||
(list-buffers arg)
|
||||
;; This order seems to let list-buffers set the value of point
|
||||
;; regardless of whether we are using the same buffer or another.
|
||||
(pop-to-buffer "*Buffer List*")
|
||||
(forward-line 2)
|
||||
(list-buffers arg)
|
||||
(message
|
||||
"Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %%; q to quit; ? for help."))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue