From 1971a3185f6b3f7c6c627d1c8968bb09a834f9c1 Mon Sep 17 00:00:00 2001 From: Mauro Aranda Date: Fri, 19 Mar 2021 05:50:55 -0300 Subject: [PATCH] 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 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)) -- 2.39.2