From: Lars Ingebrigtsen Date: Sat, 20 Feb 2021 14:37:24 +0000 (+0100) Subject: Mention `M-S-x' in the Emacs manual. X-Git-Tag: emacs-28.0.90~3631 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=006d0ae396de59bce95bc0a3ff4648caee87babd;p=emacs.git Mention `M-S-x' in the Emacs manual. * doc/emacs/m-x.texi (M-x): Mention `M-S-x' in the Emacs manual. --- 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.