Skip to content

Commit

Permalink
Account for shorthands when determining handle-switch-frame predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Nov 18, 2023
1 parent 3cd1de1 commit c55defa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -1763,7 +1763,8 @@ of the corresponding object."
(return (eq default t))
(map (make-sparse-keymap)))
(set-keymap-parent map transient-predicate-map)
(when (memq (oref transient--prefix transient-non-suffix)
(when (memq (transient--resolve-pre-command
(oref transient--prefix transient-non-suffix))
'(nil transient--do-warn transient--do-noop))
(define-key map [handle-switch-frame] #'transient--do-suspend))
(dolist (obj transient--suffixes)
Expand Down

0 comments on commit c55defa

Please sign in to comment.