aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-30 17:29:46 +0200
committerLars Ingebrigtsen2016-04-30 17:29:46 +0200
commit12515d890f3c545186e023863e4ee6ba2cc65333 (patch)
treeba3b3fdc8f81e15795afaee3a6b723e7502859f2
parent6f86ec8050c12b131b5a8d54a42fef04445f9482 (diff)
downloademacs-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.texi6
-rw-r--r--etc/NEWS4
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
69seconds before removing it from display. The default behavior is to 69seconds before removing it from display. The default behavior is to
70display the binding for 2 seconds. 70display 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
73typing less than their full name at the @samp{M-x} prompt. Emacs 74typing less than their full name at the @samp{M-x} prompt. Emacs
74mentions such shorthands in the echo area if they are significantly 75mentions such shorthands in the echo area if they are significantly
75shorter than the full command name. The setting of 76shorter 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
78setting 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
79omit the @key{RET} that terminates the name. Thus we might say 81omit the @key{RET} that terminates the name. Thus we might say
diff --git a/etc/NEWS b/etc/NEWS
index 543b3bac7a7..ed4810b2982 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
61to 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