Variable: minibuffer-depth-indicate-mode
minibuffer-depth-indicate-mode is a customizable variable defined in
mb-depth.el.gz.
Value
nil
Documentation
Non-nil if Minibuffer-Depth-Indicate mode is enabled.
See the minibuffer-depth-indicate-mode(var)/minibuffer-depth-indicate-mode(fun) command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node (emacs)Easy Customization)
or call the function minibuffer-depth-indicate-mode(var)/minibuffer-depth-indicate-mode(fun).
Probably introduced at or before Emacs version 23.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mb-depth.el.gz
;;;###autoload
(define-minor-mode minibuffer-depth-indicate-mode
"Toggle Minibuffer Depth Indication mode.
Minibuffer Depth Indication mode is a global minor mode. When
enabled, any recursive use of the minibuffer will show the
recursion depth in the minibuffer prompt. This is only useful if
`enable-recursive-minibuffers' is non-nil."
:global t
:group 'minibuffer
(if minibuffer-depth-indicate-mode
;; Enable the mode
(add-hook 'minibuffer-setup-hook 'minibuffer-depth-setup)
;; Disable the mode
(remove-hook 'minibuffer-setup-hook 'minibuffer-depth-setup)))