diff options
| author | Lars Ingebrigtsen | 2021-06-15 15:46:33 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-06-15 15:46:33 +0200 |
| commit | 17dcc54db4e2c7382eb35a27f880b3936fbaa192 (patch) | |
| tree | 68925427eeca946de5bf40913fb92dc2a36d8674 | |
| parent | 1756e4757cee336defa4aea667d0e991737f562c (diff) | |
| download | emacs-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.texi | 8 | ||||
| -rw-r--r-- | lisp/simple.el | 3 |
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 | |||
| 630 | numeric value @var{n}, completion commands switch to this cycling | 630 | numeric value @var{n}, completion commands switch to this cycling |
| 631 | behavior only when there are @var{n} or fewer alternatives. | 631 | behavior 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 | ||
| 635 | to display the completions. The completions will (by default) be | ||
| 636 | sorted in columns horizontally in alphabetical order, but this can be | ||
| 637 | changed by changing the @code{completions-format} user option. If | ||
| 638 | @code{vertical}, sort the completions vertically in columns instead, | ||
| 639 | and 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. |
| 9087 | Or click to select one with the mouse. | 9087 | Or click to select one with the mouse. |
| 9088 | 9088 | ||
| 9089 | See the `completions-format' user option to control how this | ||
| 9090 | buffer 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 () |