diff options
author | Juri Linkov <juri@linkov.net> | 2022-03-10 20:48:48 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2022-03-10 20:48:48 +0200 |
commit | 7b62bef2d3ed7d998b8d50b7ce7f7ec8c5fe7db1 (patch) | |
tree | 52685892cfaf1703873a6db716e2a0a7391efdfb /doc | |
parent | e683e60fad69914eb0c33c9ad83b819b160fd5a2 (diff) | |
download | emacs-7b62bef2d3ed7d998b8d50b7ce7f7ec8c5fe7db1.tar.gz |
Fix new option completions-max-height and new values for completion-auto-help
* doc/emacs/mini.texi (Completion Options): Fix pxref for
"Buffer Display Action Alists".
* lisp/minibuffer.el (completion-auto-help): Explain new values in docstring.
(completions-max-height): Use choice to allow nil.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/emacs/mini.texi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi index afacb9c7cde..7224c486139 100644 --- a/doc/emacs/mini.texi +++ b/doc/emacs/mini.texi @@ -632,7 +632,7 @@ completion list buffer. With the previous values and the default @code{t} the completions are hidden when some unique completion is executed. If @code{completion-auto-help} is set to @code{always} the completion commands are always shown after a completion attempt or -updated if they are already visible. If the value is @code{visible} +updated if they are already visible. If the value is @code{visible} then completions are not hidden, but updated if they are already visible while the current behavior stays the same as default if they are not. @@ -660,13 +660,15 @@ and if @code{one-column}, just use a single column. @vindex completions-max-height When @code{completions-max-height} is non-@code{nil} it limits the -size of the completions window. It is specified in lines and include +size of the completions window. It is specified in lines and include mode, header line and a bottom divider, if any. For a more complex control of the Completion window display properties you can use -@code{display-buffer-alist} (@pxref{Buffer Display Action Alists}). +@code{display-buffer-alist} (@pxref{Buffer Display Action +Alists,,Action Alists for Buffer Display, elisp, The Emacs Lisp +Reference Manual}). @vindex completions-highlight-mode -When the mode @{completions-highlight-mode} is active the candidate +When the mode @code{completions-highlight-mode} is active the candidate under the cursor is highlighted when the completion window is selected. The mode uses the face @code{completions-highlight}. |