]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last changes in buffer-menu.el and NEWS
authorMattias EngdegÄrd <mattiase@acm.org>
Wed, 7 Feb 2024 13:35:44 +0000 (14:35 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 7 Feb 2024 19:59:42 +0000 (20:59 +0100)
* etc/NEWS: Remove superfluous mention of key binding.
* lisp/buff-menu.el (Buffer-menu--selection-message): Go back to
previous wording.  It's not about what is hidden but what is shown;
the message is displayed in response to different actions.

(cherry picked from commit ef3fed1a4898c3e3d6012ba01006d827a4aba0ef)

etc/NEWS
lisp/buff-menu.el

index b06b6975913db445b6bf8a785c5f7c7b625229f6..88afdac94abe0dd15a695ebfcea7d051aef6fc89 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1415,7 +1415,7 @@ This user option lets you customize the sample text that
 "SAMPLE", which retains compatibility with Emacs 29.
 
 ---
-*** New command 'Buffer-menu-toggle-internal', locally bound to 'I'.
+*** New command 'Buffer-menu-toggle-internal'.
 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.  This command is bound to 'I'
index 29ca3b41f0c7fa1fc148d73f832ae26eeb1e045f..be62fc51e4ca45241c3fb2ab12b57712b47e2870 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 "Hiding internal buffers."))))
+                (t "Showing all non-internal buffers."))))
 
 (defun Buffer-menu-toggle-files-only (arg)
   "Toggle whether the current `buffer-menu' displays only file buffers.