From 006d0ae396de59bce95bc0a3ff4648caee87babd Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 20 Feb 2021 15:37:24 +0100 Subject: [PATCH] Mention `M-S-x' in the Emacs manual. * doc/emacs/m-x.texi (M-x): Mention `M-S-x' in the Emacs manual. --- doc/emacs/m-x.texi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/emacs/m-x.texi b/doc/emacs/m-x.texi index c51f10a47aa..d35a8351541 100644 --- a/doc/emacs/m-x.texi +++ b/doc/emacs/m-x.texi @@ -58,6 +58,14 @@ Modes}). By default, no commands are excluded, but you can customize the option @code{read-extended-command-predicate} to exclude those irrelevant commands from completion results. +@kindex M-S-x + Conversely, Emacs can exclude all commands except those that are +particularly relevant to the current buffer. The @kbd{M-S-x} (that's +``meta shift x'') command works just like @kbd{M-x}, but instead of +listing all (or most) of the commands Emacs knows about, it will only +list the commands that have been marked as ``belonging'' to the +current major mode, or any enabled minor modes. + To cancel the @kbd{M-x} and not run a command, type @kbd{C-g} instead of entering the command name. This takes you back to command level. -- 2.39.2