emacs-diffs
[Top][All Lists]
Advanced

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

master 2407080: Make minibuffer-depth-indicator-function a defcustom


From: Lars Ingebrigtsen
Subject: master 2407080: Make minibuffer-depth-indicator-function a defcustom
Date: Fri, 19 Mar 2021 04:38:08 -0400 (EDT)

branch: master
commit 240708087513143f0fcdeb59431a0b6748a0bc9c
Author: Gabriel do Nascimento Ribeiro <gabriel.nascimento@nubank.com.br>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Make minibuffer-depth-indicator-function a defcustom
    
    * lisp/mb-depth.el (minibuffer-depth-indicator-function): Make
    into a user option (bug#47252).
---
 lisp/mb-depth.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lisp/mb-depth.el b/lisp/mb-depth.el
index f9a24e3..f79b0f3 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."



reply via email to

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