diff options
author | Gabriel do Nascimento Ribeiro <gabriel.nascimento@nubank.com.br> | 2021-03-19 09:37:55 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-03-19 09:37:55 +0100 |
commit | 240708087513143f0fcdeb59431a0b6748a0bc9c (patch) | |
tree | d5608e3bc42d8dfc6d64fe376b96aa345bde186a | |
parent | 2c3340909abd4f88be6ab814247a6dcd5da0a899 (diff) | |
download | emacs-240708087513143f0fcdeb59431a0b6748a0bc9c.tar.gz |
Make minibuffer-depth-indicator-function a defcustom
* lisp/mb-depth.el (minibuffer-depth-indicator-function): Make
into a user option (bug#47252).
-rw-r--r-- | lisp/mb-depth.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/mb-depth.el b/lisp/mb-depth.el index f9a24e34bf2..f79b0f354e2 100644 --- a/lisp/mb-depth.el +++ b/lisp/mb-depth.el @@ -30,10 +30,13 @@ ;;; Code: -(defvar minibuffer-depth-indicator-function nil +(defcustom minibuffer-depth-indicator-function nil "If non-nil, function to set up the minibuffer depth indicator. It is called with one argument, the minibuffer depth, -and must return a string.") +and must return a string." + :version "28.1" + :type 'function + :group 'minibuffer) (defface minibuffer-depth-indicator '((t :inherit highlight)) "Face to use for minibuffer depth indicator." |