emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 9044d4d94bb: Fix a defcustom :type in eldoc.el


From: Stefan Kangas
Subject: emacs-29 9044d4d94bb: Fix a defcustom :type in eldoc.el
Date: Sat, 14 Oct 2023 14:54:26 -0400 (EDT)

branch: emacs-29
commit 9044d4d94bbdaed8af2681bf7facb0ce4b27cd48
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    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)
---
 lisp/emacs-lisp/eldoc.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]