Remove :underline from 'which-key-highlighted-command-face '
authorPhilip Kaludercic <philipk@posteo.net>
Tue, 18 Jun 2024 08:42:12 +0000 (10:42 +0200)
committerPhilip Kaludercic <philipk@posteo.net>
Tue, 18 Jun 2024 09:31:24 +0000 (11:31 +0200)
* 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'.

lisp/which-key.el

index 51b8ece457f362e3f3a547c33cf7f744d742c94c..45f8a31364aeda394ac6c3bd49944ff82ffe7b4f 100644 (file)
@@ -595,9 +595,9 @@ it."
   :package-version "1.0" :version "30.1")
 
 (defface which-key-highlighted-command-face
-  '((t . (:inherit which-key-command-description-face :underline t)))
-  "Default face for command description.
-To be highlighted, it must be a command and match a string in
+  '((t . (:inherit (which-key-command-description-face highlight))))
+  "Default face for highlighted command descriptions.
+A command is highlighted, when it matches a string in
 `which-key-highlighted-command-list'."
   :group 'which-key-faces
   :package-version "1.0" :version "30.1")