branch: externals/async
commit 20185236de6fa1a5598bd623554c8d75a7ade9fc
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Inject nsm-* vars in smtp-mail for emacs-25+ (#75).
* smtpmail-async.el (async-smtpmail-send-it): Do it.
---
smtpmail-async.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/smtpmail-async.el b/smtpmail-async.el
index 6fcf287..ac26923 100644
--- a/smtpmail-async.el
+++ b/smtpmail-async.el
@@ -61,7 +61,7 @@ It is called just before calling `smtpmail-send-it'.")
(set-buffer-multibyte nil)
;; Pass in the variable environment for smtpmail
,(async-inject-variables
-
"\\`\\(smtpmail\\|async-smtpmail\\|\\(user-\\)?mail\\)-\\|auth-sources\\|epg"
+
"\\`\\(smtpmail\\|async-smtpmail\\|\\(user-\\)?mail\\)-\\|auth-sources\\|epg\\|nsm"
nil
"\\`\\(mail-header-format-function\\|smtpmail-address-buffer\\|mail-mode-abbrev-table\\)")
(run-hooks 'async-smtpmail-before-send-hook)
(smtpmail-send-it)))