diff --git a/lisp/transient.el b/lisp/transient.el index 99a98310..d1dd44d3 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -1810,7 +1810,7 @@ of the corresponding object." (defun transient--make-predicate-map () (let* ((default (transient--resolve-pre-command (oref transient--prefix transient-suffix))) - (return (eq default t)) + (return (and transient-current-prefix (eq default t))) (map (make-sparse-keymap))) (set-keymap-parent map transient-predicate-map) (when (or (and (slot-boundp transient--prefix 'transient-switch-frame)