emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/transient a1525bb992 124/366: transient--emergency-exit


From: Jonas Bernoulli
Subject: [elpa] externals/transient a1525bb992 124/366: transient--emergency-exit: Improve doc-string
Date: Tue, 25 Jan 2022 18:54:33 -0500 (EST)

branch: externals/transient
commit a1525bb9924a2c8db8f44b8ac1a99f02c9f4a42d
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    transient--emergency-exit: Improve doc-string
---
 lisp/transient.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index ecd025475d..3ce0aaddac 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1799,11 +1799,15 @@ EDIT may be non-nil."
 
 (defun transient--emergency-exit ()
   "Exit the current transient command after an error occurred.
+
 Beside being used with `condition-case', this function also has
 to be a member of `debugger-mode-hook', else the debugger would
 be unusable and exiting it by pressing \"q\" would fail because
 the transient command would still be active and that key would
-either be unbound or do something else."
+either be unbound or do something else.
+
+When no transient is active (i.e. when `transient--prefix') is
+nil, then do nothing."
   (when transient--prefix
     (setq transient--stack nil)
     (setq transient--exitp t)



reply via email to

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