branch: master commit ccba4b8381dfc7b39f446a6441d0bc32185866c5 Author: Thierry Volpiatto <thierry.volpia...@gmail.com> Commit: Thierry Volpiatto <thierry.volpia...@gmail.com>
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)))