fix(email): mu4e main view shortcut face

In the leuven theme (and possibly others), the use of
`(mode-line-emphasis bold)` results in white text on a white background,
making the shortcut keys invisible.

The original function mu4e--main-action-string uses mu4e-highlight-face,
and changing back to this fixes the problem.

I can’t tell from the git history what the reasoning for the face change
specifically was: the new function seems to have been made mainly for
changing the bullets to unicode versions.

Fix: #7010
This commit is contained in:
Emily Bourke 2022-12-24 13:39:26 +00:00 committed by Henrik Lissner
parent 0bc06fc0d3
commit 307ae53dff

View file

@ -12,7 +12,7 @@ clicked."
"\\[\\(..?\\)\\]" "\\[\\(..?\\)\\]"
(lambda(m) (lambda(m)
(format "%s" (format "%s"
(propertize (match-string 1 m) 'face '(mode-line-emphasis bold)))) (propertize (match-string 1 m) 'face 'mu4e-highlight-face)))
(replace-regexp-in-string "\t\\*" (format "\t%s" +mu4e-main-bullet) str))) (replace-regexp-in-string "\t\\*" (format "\t%s" +mu4e-main-bullet) str)))
(map (make-sparse-keymap)) (map (make-sparse-keymap))
(func (if (functionp func-or-shortcut) (func (if (functionp func-or-shortcut)