Skip to content

Commit

Permalink
transient--get-face: Use for inapt-face
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Nov 12, 2023
1 parent cf32cf6 commit d44c4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -3755,7 +3755,7 @@ If the OBJ's `key' is currently unreachable, then apply the face
(propertize "(BUG: no description)" 'face 'error))))
(cond
((oref obj inapt)
(if-let ((face (oref obj inapt-face)))
(if-let ((face (transient--get-face obj 'inapt-face)))
(transient--add-face desc face)
desc))
((and (slot-boundp obj 'key)
Expand Down

0 comments on commit d44c4fc

Please sign in to comment.