summaryrefslogtreecommitdiff
path: root/lisp/transient.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/transient.el')
-rw-r--r--lisp/transient.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/transient.el b/lisp/transient.el
index c376197..ce7093b 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2989,8 +2989,6 @@ value. Otherwise return CHILDREN as is.")
(setq transient--editp nil)
(setq transient--all-levels-p nil)
(setq transient--minibuffer-depth 0)
- (setq quit-flag nil)
- (set-default-toplevel-value 'inhibit-quit nil)
(run-hooks 'transient-exit-hook)
(when command
(setq transient-current-prefix nil)
@@ -2999,6 +2997,8 @@ value. Otherwise return CHILDREN as is.")
(setq transient--current-suffix nil))
(cond (resume (transient--stack-pop))
((not replace)
+ (setq quit-flag nil)
+ (set-default-toplevel-value 'inhibit-quit nil)
(run-hooks 'transient-post-exit-hook)))))
(defun transient--stack-push ()