mu4e: also prettify key-val string in main view
This commit is contained in:
parent
3778862a79
commit
8603a3c7d2
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue