]> code.delx.au - gnu-emacs/commitdiff
Document extended-command-suggest-shorter
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2016 15:29:46 +0000 (17:29 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2016 15:29:46 +0000 (17:29 +0200)
* doc/emacs/m-x.texi (M-x): Mention
extended-command-suggest-shorter (bug#19152).

doc/emacs/m-x.texi
etc/NEWS

index 9e5f50b5e91aaac8a3568ba95c2b22df59410de0..4b1165a11304e4c3f8c2f8fec919033bedeb0c5b 100644 (file)
@@ -69,11 +69,13 @@ number, in which case Emacs will show the binding for that many
 seconds before removing it from display.  The default behavior is to
 display the binding for 2 seconds.
 
+@vindex extended-command-suggest-shorter
   Commands that don't have key bindings, can still be invoked after
 typing less than their full name at the @samp{M-x} prompt.  Emacs
 mentions such shorthands in the echo area if they are significantly
-shorter than the full command name.  The setting of
-@code{suggest-key-bindings} affects these hints as well.
+shorter than the full command name, and
+@code{extended-command-suggest-shorter} is non-@code{nil}.  The
+setting of @code{suggest-key-bindings} affects these hints as well.
 
   In this manual, when we speak of running a command by name, we often
 omit the @key{RET} that terminates the name.  Thus we might say
index 543b3bac7a730c4a8a9177150d435d8079a362f3..ed4810b298206241e257b370b10d735bb5edde35 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -56,6 +56,10 @@ affected by this, as SGI stopped supporting IRIX in December 2013.
 \f
 * Changes in Emacs 25.2
 
++++
+** The new variable `extended-command-suggest-shorter' has been added
+to control whether to suggest shorter `M-x' commands or not.
+
 ---
 ** icomplete now respects `completion-ignored-extensions'.