diff options
| author | Lars Ingebrigtsen | 2016-04-30 17:29:46 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-04-30 17:29:46 +0200 |
| commit | 12515d890f3c545186e023863e4ee6ba2cc65333 (patch) | |
| tree | ba3b3fdc8f81e15795afaee3a6b723e7502859f2 | |
| parent | 6f86ec8050c12b131b5a8d54a42fef04445f9482 (diff) | |
| download | emacs-12515d890f3c545186e023863e4ee6ba2cc65333.tar.gz emacs-12515d890f3c545186e023863e4ee6ba2cc65333.zip | |
Document extended-command-suggest-shorter
* doc/emacs/m-x.texi (M-x): Mention
extended-command-suggest-shorter (bug#19152).
| -rw-r--r-- | doc/emacs/m-x.texi | 6 | ||||
| -rw-r--r-- | etc/NEWS | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/emacs/m-x.texi b/doc/emacs/m-x.texi index 9e5f50b5e91..4b1165a1130 100644 --- a/doc/emacs/m-x.texi +++ b/doc/emacs/m-x.texi | |||
| @@ -69,11 +69,13 @@ number, in which case Emacs will show the binding for that many | |||
| 69 | seconds before removing it from display. The default behavior is to | 69 | seconds before removing it from display. The default behavior is to |
| 70 | display the binding for 2 seconds. | 70 | display the binding for 2 seconds. |
| 71 | 71 | ||
| 72 | @vindex extended-command-suggest-shorter | ||
| 72 | Commands that don't have key bindings, can still be invoked after | 73 | Commands that don't have key bindings, can still be invoked after |
| 73 | typing less than their full name at the @samp{M-x} prompt. Emacs | 74 | typing less than their full name at the @samp{M-x} prompt. Emacs |
| 74 | mentions such shorthands in the echo area if they are significantly | 75 | mentions such shorthands in the echo area if they are significantly |
| 75 | shorter than the full command name. The setting of | 76 | shorter than the full command name, and |
| 76 | @code{suggest-key-bindings} affects these hints as well. | 77 | @code{extended-command-suggest-shorter} is non-@code{nil}. The |
| 78 | setting of @code{suggest-key-bindings} affects these hints as well. | ||
| 77 | 79 | ||
| 78 | In this manual, when we speak of running a command by name, we often | 80 | In this manual, when we speak of running a command by name, we often |
| 79 | omit the @key{RET} that terminates the name. Thus we might say | 81 | omit the @key{RET} that terminates the name. Thus we might say |
| @@ -56,6 +56,10 @@ affected by this, as SGI stopped supporting IRIX in December 2013. | |||
| 56 | 56 | ||
| 57 | * Changes in Emacs 25.2 | 57 | * Changes in Emacs 25.2 |
| 58 | 58 | ||
| 59 | +++ | ||
| 60 | ** The new variable `extended-command-suggest-shorter' has been added | ||
| 61 | to control whether to suggest shorter `M-x' commands or not. | ||
| 62 | |||
| 59 | --- | 63 | --- |
| 60 | ** icomplete now respects `completion-ignored-extensions'. | 64 | ** icomplete now respects `completion-ignored-extensions'. |
| 61 | 65 | ||