]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change in buffer-menu.el
authorEli Zaretskii <eliz@gnu.org>
Tue, 6 Feb 2024 19:55:57 +0000 (21:55 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 7 Feb 2024 10:56:09 +0000 (11:56 +0100)
* 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)

(cherry picked from commit ab318cce1e97f4b9c78adc3290784105b78f0728)

etc/NEWS
lisp/buff-menu.el

index b429419f7c8c06d016477052139561e5618466f5..b06b6975913db445b6bf8a785c5f7c7b625229f6 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1418,7 +1418,8 @@ This user option lets you customize the sample text that
 *** 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
 
index 9561141f0c3cc520a3e608f6a8f8e19a6d241bee..29ca3b41f0c7fa1fc148d73f832ae26eeb1e045f 100644 (file)
@@ -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