From: Mattias EngdegÄrd Date: Wed, 7 Feb 2024 13:35:44 +0000 (+0100) Subject: ; Fix last changes in buffer-menu.el and NEWS X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3cd007cf6b8748354ff14c2488a5fb3438a55007;p=emacs.git ; Fix last changes in buffer-menu.el and NEWS * 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) --- diff --git a/etc/NEWS b/etc/NEWS index b06b6975913..88afdac94ab 100644 --- 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' diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index 29ca3b41f0c..be62fc51e4c 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 "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.