Mu4e: update personal addresses on first compose

This commit is contained in:
Timothy 2022-08-14 20:18:16 +08:00
parent d3a79d5d3f
commit 5490df9a96
Signed by: tec
SSH key fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A

View file

@ -5149,9 +5149,8 @@ aware of.
"\\`\\(.*\\)@" alias primary-address t t 1)) "\\`\\(.*\\)@" alias primary-address t t 1))
'("contact" "timothy"))))))) '("contact" "timothy")))))))
(defadvice! +mu4e-update-personal-addresses-a () (add-transient-hook! 'mu4e-compose-pre-hook
:after #'mu4e--server-start (+mu4e-update-personal-addresses))
(run-at-time 0.1 nil #'+mu4e-update-personal-addresses))
#+end_src #+end_src
**** Working with the Org mailing list **** Working with the Org mailing list