mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(mu4e): force the account stripe face to be non-italic
With mu4e came a new face for the header view. While this is nice for the text, it had the consequence of making the account stripe (the vertical bar) a bit jarring. This patch fixes that behavior to make the stripe non-italic by append `'default` to the face.
This commit is contained in:
committed by
Henrik Lissner
parent
01bb743c6c
commit
2548632600
@ -134,7 +134,8 @@ a quoted symbol for a alist of current strings and faces provided."
|
|||||||
(put-text-property
|
(put-text-property
|
||||||
0 (length str)
|
0 (length str)
|
||||||
'face
|
'face
|
||||||
(if (not unique)
|
(list
|
||||||
|
(if (not unique)
|
||||||
(+mu4e--str-color-face herring str)
|
(+mu4e--str-color-face herring str)
|
||||||
(let ((unique-alist (eval unique)))
|
(let ((unique-alist (eval unique)))
|
||||||
(unless (assoc herring unique-alist)
|
(unless (assoc herring unique-alist)
|
||||||
@ -152,6 +153,7 @@ a quoted symbol for a alist of current strings and faces provided."
|
|||||||
(push (cons herring color) unique-alist)))
|
(push (cons herring color) unique-alist)))
|
||||||
(set unique unique-alist))
|
(set unique unique-alist))
|
||||||
(cdr (assoc herring unique-alist))))
|
(cdr (assoc herring unique-alist))))
|
||||||
|
'default)
|
||||||
str)
|
str)
|
||||||
str)
|
str)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user