summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/transient.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/transient.el b/lisp/transient.el
index 9858bff03a8..73ea6fa940e 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2162,7 +2162,7 @@ value. Otherwise return CHILDREN as is."
(funcall fn)
(transient--suspend-override (bound-and-true-p edebug-active))
(funcall fn) ; Already unwind protected.
- (cond ((eq this-command '(top-level abort-recursive-edit))
+ (cond ((memq this-command '(top-level abort-recursive-edit))
(setq transient--exitp t)
(transient--post-exit)
(transient--delete-window))