aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Aguilar Mena2022-03-24 11:05:26 +0100
committerJimmy Aguilar Mena2022-03-24 11:11:27 +0100
commite0321adddf2e23bc326dc9693c132040f36c3809 (patch)
tree7fe8a523a747a751621caaafb1ec490822f7aa2d
parentf9faa51e7677640b38e0ca894da889233e42d066 (diff)
downloademacs-feature/completions-customs.tar.gz
emacs-feature/completions-customs.zip
Add documentation entries for completion-auto-select user option.feature/completions-customs
-rw-r--r--doc/emacs/mini.texi8
-rw-r--r--etc/NEWS6
2 files changed, 12 insertions, 2 deletions
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi
index ff0fa505a8e..181cade80b3 100644
--- a/doc/emacs/mini.texi
+++ b/doc/emacs/mini.texi
@@ -642,6 +642,14 @@ the completion. The value @code{visible} is a hybrid: it behaves like
642completion list buffer, and like @code{always} when it decides whether 642completion list buffer, and like @code{always} when it decides whether
643to pop it down. 643to pop it down.
644 644
645@vindex completion-auto-select
646The completions window can be automatically selected. To enable this
647behavior, customize the user option @code{completion-auto-select} to
648@code{t} and pressing @key{TAB} will switch to the completion list
649buffer when it pops up that buffer. If the value is
650@code{second-tab}, then the first @key{TAB} will pops up the
651completions list buffer and the second one will switch to it.
652
645@vindex completion-cycle-threshold 653@vindex completion-cycle-threshold
646 If @code{completion-cycle-threshold} is non-@code{nil}, completion 654 If @code{completion-cycle-threshold} is non-@code{nil}, completion
647commands can cycle through completion alternatives. Normally, if 655commands can cycle through completion alternatives. Normally, if
diff --git a/etc/NEWS b/etc/NEWS
index ad0f7f1c055..d743488b68c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -575,8 +575,10 @@ value.
575 575
576*** The "*Completions*" buffer can now be automatically selected. 576*** The "*Completions*" buffer can now be automatically selected.
577To enable this behavior, customize the user option 577To enable this behavior, customize the user option
578'completion-auto-select' to t. Then pressing 'TAB' will switch to the 578'completion-auto-select' to t and pressing 'TAB' will switch to the
579"*Completions*" buffer when it pops up that buffer. 579"*Completions*" buffer when it pops up that buffer. If the value is
580'second-tab', then the first tab will display "*Completions*" and the
581second one will switch to the "*Completions*" buffer.
580 582
581*** New user option 'completion-wrap-movement'. 583*** New user option 'completion-wrap-movement'.
582When non-nil, the commands 'next-completion' and 'previous-completion' 584When non-nil, the commands 'next-completion' and 'previous-completion'