From: Philip Kaludercic Date: Tue, 18 Jun 2024 08:42:12 +0000 (+0200) Subject: Remove :underline from 'which-key-highlighted-command-face ' X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~983^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=543ad34ee4d030e0f0f6f900d8606288c4cdba93;p=emacs.git 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'. --- diff --git a/lisp/which-key.el b/lisp/which-key.el index 51b8ece457f..45f8a31364a 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el @@ -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")