emacs-diffs
[Top][All Lists]
Advanced

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

master 1971a31: Fix :type of recently introduced defcustom


From: Mauro Aranda
Subject: master 1971a31: Fix :type of recently introduced defcustom
Date: Fri, 19 Mar 2021 04:53:14 -0400 (EDT)

branch: master
commit 1971a3185f6b3f7c6c627d1c8968bb09a834f9c1
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Mauro Aranda <maurooaranda@gmail.com>

    Fix :type of recently introduced defcustom
    
    * lisp/mb-depth.el (minibuffer-depth-indicator-function): The option
    can be nil, so add nil as a choice.  (Bug#47252)
---
 lisp/mb-depth.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/mb-depth.el b/lisp/mb-depth.el
index f79b0f3..3cba6a4 100644
--- a/lisp/mb-depth.el
+++ b/lisp/mb-depth.el
@@ -35,7 +35,8 @@
 It is called with one argument, the minibuffer depth,
 and must return a string."
   :version "28.1"
-  :type 'function
+  :type '(choice (const :tag "Default" nil)
+                 (function))
   :group 'minibuffer)
 
 (defface minibuffer-depth-indicator '((t :inherit highlight))



reply via email to

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