diff --git a/modules/email/mu4e/autoload/advice.el b/modules/email/mu4e/autoload/advice.el index fbfa64253..191e8e921 100644 --- a/modules/email/mu4e/autoload/advice.el +++ b/modules/email/mu4e/autoload/advice.el @@ -27,6 +27,11 @@ clicked." (- (length newstr) 1) 'mouse-face 'highlight newstr) newstr)) +;;;###autoload +(defun +mu4e~main-keyval-str-prettier-a (str) + "Replace '*' with '⚫' in STR." + (replace-regexp-in-string "\t\\*" "\t⚫" str)) + ;; Org msg LaTeX image scaling ;;;###autoload diff --git a/modules/email/mu4e/config.el b/modules/email/mu4e/config.el index ebc414fa8..1012e771f 100644 --- a/modules/email/mu4e/config.el +++ b/modules/email/mu4e/config.el @@ -203,6 +203,7 @@ (add-hook 'mu4e-compose-pre-hook '+mu4e-set-from-address-h) + (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) ;; As +mu4e~main-action-str-prettier replaces [k]ey with key q]uit should become quit