Skip to content

Commit d9872fe

Browse files
committed
transient-format-description: Cosmetics
1 parent 69185ff commit d9872fe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lisp/transient.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4790,9 +4790,9 @@ apply the face `transient-unreachable' to the complete string."
47904790
(when-let ((face (transient--get-face obj 'face)))
47914791
(setq desc (transient--add-face desc face t)))
47924792
(setq desc (propertize "(BUG: no description)" 'face 'error)))
4793-
(when (if transient--all-levels-p
4794-
(> (oref obj level) transient--default-prefix-level)
4795-
(and transient-highlight-higher-levels
4793+
(when (cond (transient--all-levels-p
4794+
(> (oref obj level) transient--default-prefix-level))
4795+
(transient-highlight-higher-levels
47964796
(> (max (oref obj level) transient--max-group-level)
47974797
transient--default-prefix-level)))
47984798
(setq desc (transient--add-face desc 'transient-higher-level)))

0 commit comments

Comments
 (0)