Function: transient--emergency-exit

transient--emergency-exit is a byte-compiled function defined in transient.el.

Signature

(transient--emergency-exit &optional ID)

Documentation

Exit the current transient command after an error occurred.

When no transient is active (i.e., when transient--prefix is nil) then only reset inhibit-quit. Optional ID is a keyword identifying the exit.

Source Code

;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defun transient--emergency-exit (&optional id)
  "Exit the current transient command after an error occurred.
When no transient is active (i.e., when `transient--prefix' is
nil) then only reset `inhibit-quit'.  Optional ID is a keyword
identifying the exit."
  (transient--debug 'emergency-exit id)
  (transient--quit-kludge 'disable)
  (when transient--prefix
    (setq transient--stack nil)
    (setq transient--exitp t)
    (transient--pre-exit)
    (transient--post-exit this-command)))