summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Aranda <maurooaranda@gmail.com>2021-03-19 05:50:55 -0300
committerMauro Aranda <maurooaranda@gmail.com>2021-03-19 05:50:55 -0300
commit1971a3185f6b3f7c6c627d1c8968bb09a834f9c1 (patch)
tree716521760bc21c2e67782de9bcc13ae77a96c339
parent240708087513143f0fcdeb59431a0b6748a0bc9c (diff)
downloademacs-1971a3185f6b3f7c6c627d1c8968bb09a834f9c1.tar.gz
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)
-rw-r--r--lisp/mb-depth.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mb-depth.el b/lisp/mb-depth.el
index f79b0f354e2..3cba6a41f2f 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))