emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ab318cce1e9: ; Fix last change in buffer-menu.el


From: Eli Zaretskii
Subject: master ab318cce1e9: ; Fix last change in buffer-menu.el
Date: Tue, 6 Feb 2024 14:56:38 -0500 (EST)

branch: master
commit ab318cce1e97f4b9c78adc3290784105b78f0728
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; 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)
---
 etc/NEWS          | 3 ++-
 lisp/buff-menu.el | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index f980d612a57..ee7462cb2aa 100644
--- a/etc/NEWS
+++ b/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
 
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index 9561141f0c3..29ca3b41f0c 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]