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

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

[elpa] externals/transient 0a0ba1aa90 01/41: transient--do-leave: Actual


From: Jonas Bernoulli
Subject: [elpa] externals/transient 0a0ba1aa90 01/41: transient--do-leave: Actually behave as documented
Date: Sun, 12 Nov 2023 20:04:06 -0500 (EST)

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

    transient--do-leave: Actually behave as documented
---
 lisp/transient.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 0795bcd02a..75efac98d4 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2496,7 +2496,8 @@ If there is no parent prefix, then behave like 
`transient--do-exit'."
 
 (defun transient--do-leave ()
   "Call the command without exporting variables and exit the transient."
-  transient--stay)
+  (transient--stack-zap)
+  transient--exit)
 
 (defun transient--do-push-button ()
   "Call the command represented by the activated button.



reply via email to

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