1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

Fix a defcustom :type in eldoc.el

* lisp/emacs-lisp/eldoc.el (eldoc-echo-area-prefer-doc-buffer): Make
:type a choice, to allow for the value 'maybe'.  (Bug##66539)
This commit is contained in:
Mauro Aranda 2023-10-14 10:34:54 -03:00 committed by Stefan Kangas
parent 8141d73ea7
commit 9044d4d94b

View File

@ -132,7 +132,9 @@ documentation in the echo area if the dedicated documentation
buffer (displayed by `eldoc-doc-buffer') is already displayed in
some window. If the value is the symbol `maybe', then the echo area
is only skipped if the documentation needs to be truncated there."
:type 'boolean)
:type '(choice (const :tag "Prefer ElDoc's documentation buffer" t)
(const :tag "Prefer echo area" nil)
(const :tag "Skip echo area if truncating" maybe)))
(defface eldoc-highlight-function-argument
'((t (:inherit bold)))