Skip to content

Commit

Permalink
transient-format(around:suffix): Update for transient-information
Browse files Browse the repository at this point in the history
With the advent of `transient-information, the `command' slot is
no longer guaranteed to be bound.

Closes #260.
  • Loading branch information
tarsius committed Nov 3, 2023
1 parent 533578b commit b4a2963
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 @@ -3619,7 +3619,8 @@ Optional support for popup buttons is also implemented here."
'transient-enabled-suffix
'transient-disabled-suffix))))
(cl-call-next-method obj))))
(if transient-enable-popup-navigation
(if (and transient-enable-popup-navigation
(slot-boundp obj 'command))
(make-text-button str nil
'type 'transient
'command (oref obj command))
Expand Down

0 comments on commit b4a2963

Please sign in to comment.