From d926ecd2741ddd2f7b8749f1376e46b48f152a52 Mon Sep 17 00:00:00 2001 From: TEC Date: Sun, 4 Oct 2020 01:02:43 +0800 Subject: [PATCH] Mu4e: rename my-mu4e-* function to +mu4e-* --- modules/email/mu4e/autoload/email.el | 2 +- modules/email/mu4e/config.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/email/mu4e/autoload/email.el b/modules/email/mu4e/autoload/email.el index bf611ea3b..b77bd8974 100644 --- a/modules/email/mu4e/autoload/email.el +++ b/modules/email/mu4e/autoload/email.el @@ -193,7 +193,7 @@ is tomorrow. With two prefixes, select the deadline." (t "later")))))) ;;;###autoload -(defun my-mu4e-set-account () +(defun +mu4e-set-account () "Set the account for composing a message. If a 'To' header is present, and correspands to an email account, this account will be selected. Otherwise, the user is prompted for the account they wish to use." diff --git a/modules/email/mu4e/config.el b/modules/email/mu4e/config.el index ef73a94d6..58e6463ce 100644 --- a/modules/email/mu4e/config.el +++ b/modules/email/mu4e/config.el @@ -172,7 +172,7 @@ :v "u" #'mu4e-headers-mark-for-unmark :vn "l" #'mu4e-msg-to-agenda)) - (add-hook 'mu4e-compose-pre-hook 'my-mu4e-set-account) + (add-hook 'mu4e-compose-pre-hook '+mu4e-set-account) (advice-add #'mu4e~main-action-str :override #'mu4e~main-action-prettier-str))