feat(mu4e): make the unicode bullet customizable

By popular demand.

Close #5452.
This commit is contained in:
TEC 2021-09-11 23:44:37 +08:00
parent 4fee7cf953
commit 7ab825157f
No known key found for this signature in database
GPG key ID: 779591AFDB81F06C
2 changed files with 8 additions and 3 deletions

View file

@ -279,6 +279,11 @@ This should already be the case yet it does not always seem to be."
:before #'mu4e-compose-resend
(read-only-mode -1))
(defvar +mu4e-main-bullet ""
"Prefix to use instead of \" *\" in the mu4e main view.
This is enacted by `+mu4e~main-action-str-prettier-a' and
`+mu4e~main-keyval-str-prettier-a'.")
(advice-add #'mu4e~key-val :filter-return #'+mu4e~main-keyval-str-prettier-a)
(advice-add #'mu4e~main-action-str :override #'+mu4e~main-action-str-prettier-a)
(when (featurep! :editor evil)