Variable: ghostel--password-prompt-outer-depth

ghostel--password-prompt-outer-depth is a buffer-local variable defined in ghostel.el.

Documentation

Value of minibuffer-depth captured when our prompt opened.

ghostel--cancel-password-prompt aborts the active minibuffer only when the current depth is (1+ outer-depth) - i.e. our read-passwd is the innermost recursive edit. This keeps the cancel from clobbering an unrelated minibuffer (e.g. an M-x the user opened before the false-positive rising edge fired).

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defvar-local ghostel--password-prompt-outer-depth nil
  "Value of `minibuffer-depth' captured when our prompt opened.
`ghostel--cancel-password-prompt' aborts the active minibuffer only
when the current depth is `(1+ outer-depth)' - i.e. our `read-passwd'
is the innermost recursive edit.  This keeps the cancel from
clobbering an unrelated minibuffer (e.g. an `M-x' the user opened
before the false-positive rising edge fired).")