aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-06-15 15:46:33 +0200
committerLars Ingebrigtsen2021-06-15 15:46:33 +0200
commit17dcc54db4e2c7382eb35a27f880b3936fbaa192 (patch)
tree68925427eeca946de5bf40913fb92dc2a36d8674
parent1756e4757cee336defa4aea667d0e991737f562c (diff)
downloademacs-17dcc54db4e2c7382eb35a27f880b3936fbaa192.tar.gz
emacs-17dcc54db4e2c7382eb35a27f880b3936fbaa192.zip
Document `completions-format'
* doc/emacs/mini.texi (Completion Options): Document `completions-format'. * lisp/simple.el (completion-list-mode): Mention in (bug#49003).
-rw-r--r--doc/emacs/mini.texi8
-rw-r--r--lisp/simple.el3
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi
index 2fdb1e7072f..6dcee3fa824 100644
--- a/doc/emacs/mini.texi
+++ b/doc/emacs/mini.texi
@@ -630,6 +630,14 @@ in a cyclic manner. If you give @code{completion-cycle-threshold} a
630numeric value @var{n}, completion commands switch to this cycling 630numeric value @var{n}, completion commands switch to this cycling
631behavior only when there are @var{n} or fewer alternatives. 631behavior only when there are @var{n} or fewer alternatives.
632 632
633@vindex completions-format
634 When displaying completions, Emacs will normally pop up a new buffer
635to display the completions. The completions will (by default) be
636sorted in columns horizontally in alphabetical order, but this can be
637changed by changing the @code{completions-format} user option. If
638@code{vertical}, sort the completions vertically in columns instead,
639and if @code{one-column}, just use a single column.
640
633@node Minibuffer History 641@node Minibuffer History
634@section Minibuffer History 642@section Minibuffer History
635@cindex minibuffer history 643@cindex minibuffer history
diff --git a/lisp/simple.el b/lisp/simple.el
index 4630a11c753..fdaeb6ac22d 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -9086,6 +9086,9 @@ Type \\<completion-list-mode-map>\\[choose-completion] in the completion list\
9086 to select the completion near point. 9086 to select the completion near point.
9087Or click to select one with the mouse. 9087Or click to select one with the mouse.
9088 9088
9089See the `completions-format' user option to control how this
9090buffer is formatted.
9091
9089\\{completion-list-mode-map}") 9092\\{completion-list-mode-map}")
9090 9093
9091(defun completion-list-mode-finish () 9094(defun completion-list-mode-finish ()