; Fix last change in buffer-menu.el
* etc/NEWS: Elaborate about the binding of the new command. * lisp/buff-menu.el (Buffer-menu--selection-message): Fix wording of new message. (Buffer-menu-toggle-internal): Doc fix. (Bug#68949)
This commit is contained in:
parent
a2201a2034
commit
ab318cce1e
2 changed files with 4 additions and 3 deletions
3
etc/NEWS
3
etc/NEWS
|
@ -1307,7 +1307,8 @@ chat buffers use by default.
|
|||
*** New command 'Buffer-menu-toggle-internal', locally bound to 'I'.
|
||||
This command toggles the display of internal buffers in Buffer Menu mode;
|
||||
that is, buffers not visiting a file and whose names start with a space.
|
||||
Previously, such buffers were never shown.
|
||||
Previously, such buffers were never shown. This command is bound to 'I'
|
||||
in Buffer menu mode.
|
||||
|
||||
** Customize
|
||||
|
||||
|
|
|
@ -329,7 +329,7 @@ ARG, show only buffers that are visiting files."
|
|||
(defun Buffer-menu--selection-message ()
|
||||
(message (cond (Buffer-menu-files-only "Showing only file-visiting buffers.")
|
||||
(Buffer-menu-show-internal "Showing all buffers.")
|
||||
(t "Showing all non-internal buffers."))))
|
||||
(t "Hiding internal buffers."))))
|
||||
|
||||
(defun Buffer-menu-toggle-files-only (arg)
|
||||
"Toggle whether the current `buffer-menu' displays only file buffers.
|
||||
|
@ -344,7 +344,7 @@ negative ARG, display other buffers as well."
|
|||
|
||||
(defun Buffer-menu-toggle-internal (arg)
|
||||
"Toggle whether the current `buffer-menu' displays internal buffers.
|
||||
With a positive ARG, display non-internal buffers only. With zero or
|
||||
With a positive ARG, don't show internal buffers. With zero or
|
||||
negative ARG, display internal buffers as well."
|
||||
(interactive "P" Buffer-menu-mode)
|
||||
(setq Buffer-menu-show-internal
|
||||
|
|
Loading…
Add table
Reference in a new issue