Skip to content

Commit 543ad34

Browse files
committed
Remove :underline from 'which-key-highlighted-command-face '
* lisp/which-key.el (which-key-highlighted-command-face): To avoid using properties that might not be supported on all displays, we instead inherit from the semantic face 'highlight'.
1 parent b0b7df8 commit 543ad34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lisp/which-key.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -595,9 +595,9 @@ it."
595595
:package-version "1.0" :version "30.1")
596596

597597
(defface which-key-highlighted-command-face
598-
'((t . (:inherit which-key-command-description-face :underline t)))
599-
"Default face for command description.
600-
To be highlighted, it must be a command and match a string in
598+
'((t . (:inherit (which-key-command-description-face highlight))))
599+
"Default face for highlighted command descriptions.
600+
A command is highlighted, when it matches a string in
601601
`which-key-highlighted-command-list'."
602602
:group 'which-key-faces
603603
:package-version "1.0" :version "30.1")

0 commit comments

Comments
 (0)