aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Aranda2023-10-14 10:34:54 -0300
committerStefan Kangas2023-10-14 20:54:04 +0200
commit9044d4d94bbdaed8af2681bf7facb0ce4b27cd48 (patch)
tree823844d55a32c1c15e865d4a140f0269e7dd943e
parent8141d73ea7f597787bd554b01f98f3925e6531d2 (diff)
downloademacs-9044d4d94bbdaed8af2681bf7facb0ce4b27cd48.tar.gz
emacs-9044d4d94bbdaed8af2681bf7facb0ce4b27cd48.zip
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)
-rw-r--r--lisp/emacs-lisp/eldoc.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index a175edcc671..7cd676b8e50 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -132,7 +132,9 @@ documentation in the echo area if the dedicated documentation
132buffer (displayed by `eldoc-doc-buffer') is already displayed in 132buffer (displayed by `eldoc-doc-buffer') is already displayed in
133some window. If the value is the symbol `maybe', then the echo area 133some window. If the value is the symbol `maybe', then the echo area
134is only skipped if the documentation needs to be truncated there." 134is only skipped if the documentation needs to be truncated there."
135 :type 'boolean) 135 :type '(choice (const :tag "Prefer ElDoc's documentation buffer" t)
136 (const :tag "Prefer echo area" nil)
137 (const :tag "Skip echo area if truncating" maybe)))
136 138
137(defface eldoc-highlight-function-argument 139(defface eldoc-highlight-function-argument
138 '((t (:inherit bold))) 140 '((t (:inherit bold)))