diff options
Diffstat (limited to 'doc/emacs/m-x.texi')
-rw-r--r-- | doc/emacs/m-x.texi | 8 |
1 files changed, 8 insertions, 0 deletions
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. |