Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
95b9ce23
Commit
95b9ce23
authored
Jul 12, 1994
by
Richard M. Stallman
Browse files
(buffer-menu): Call pop-to-buffer before
list-buffers. Don't move point afterwards.
parent
8eeac2ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/buff-menu.el
lisp/buff-menu.el
+3
-2
No files found.
lisp/buff-menu.el
View file @
95b9ce23
...
@@ -163,9 +163,10 @@ Type q immediately to make the buffer menu go away and to restore
...
@@ -163,9 +163,10 @@ Type q immediately to make the buffer menu go away and to restore
previous window configuration."
previous window configuration."
(
interactive
"P"
)
(
interactive
"P"
)
;;; (setq Buffer-menu-window-config (current-window-configuration))
;;; (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*"
)
(
pop-to-buffer
"*Buffer List*"
)
(
forward-line
2
)
(
list-buffers
arg
)
(
message
(
message
"Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %%; q to quit; ? for help."
))
"Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %%; q to quit; ? for help."
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment