[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master b67254c 096/187: * smtpmail-async.el (async-smtpmail-send-
From: |
Michael Albinus |
Subject: |
[elpa] master b67254c 096/187: * smtpmail-async.el (async-smtpmail-send-it): Eval content of buffer outside temp buffer.(attempt to fix issue in mu4e) |
Date: |
Wed, 30 Dec 2015 11:49:55 +0000 |
branch: master
commit b67254ce808acb9c0548cc8c35f5c613abe3934c
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>
* smtpmail-async.el (async-smtpmail-send-it): Eval content of buffer
outside temp buffer.(attempt to fix issue in mu4e)
---
smtpmail-async.el | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/smtpmail-async.el b/smtpmail-async.el
index 467c200..b1a132c 100644
--- a/smtpmail-async.el
+++ b/smtpmail-async.el
@@ -42,13 +42,15 @@
(require 'smtpmail)
(defun async-smtpmail-send-it ()
- (let ((to (message-field-value "To")))
+ (let ((to (message-field-value "To"))
+ (buf-content (buffer-substring-no-properties
+ (point-min) (point-max))))
(message "Delivering message to %s..." to)
(async-start
`(lambda ()
(require 'smtpmail)
(with-temp-buffer
- (insert ,(buffer-substring-no-properties (point-min) (point-max)))
+ (insert ,buf-content)
;; Pass in the variable environment for smtpmail
,(async-inject-variables "\\`\\(smtpmail\\|\\(user-\\)?mail\\)-")
(smtpmail-send-it)))
- [elpa] master a37e1db 089/187: * dired-async.el: Finish converting all names to dired*., (continued)
- [elpa] master a37e1db 089/187: * dired-async.el: Finish converting all names to dired*., Michael Albinus, 2015/12/30
- [elpa] master b311374 092/187: * dired-async.el (dired-async-mode): Notify number of jobs running in lighter., Michael Albinus, 2015/12/30
- [elpa] master b514e21 093/187: * async-test.el: Remove now unnecessary tests., Michael Albinus, 2015/12/30
- [elpa] master 4d14cbb 094/187: * async-test.el: Update copyrights., Michael Albinus, 2015/12/30
- [elpa] master 3712607 097/187: * smtpmail-async.el: Exclude some vars when injecting (#22)., Michael Albinus, 2015/12/30
- [elpa] master a0195ad 104/187: Fix markdown in README, Michael Albinus, 2015/12/30
- [elpa] master 3a23aa1 095/187: * dired-async.el (helm-async-be-async): Move it as obsolete variable alias to helm., Michael Albinus, 2015/12/30
- [elpa] master eaa0ec1 098/187: * smtpmail-async.el: Fix encoding problems (#27), Michael Albinus, 2015/12/30
- [elpa] master 05c9861 103/187: * smtpmail-async.el (async-smtpmail-before-send-hook): Add docstring., Michael Albinus, 2015/12/30
- [elpa] master b2b4bd6 107/187: * async-bytecomp.el: New file., Michael Albinus, 2015/12/30
- [elpa] master b67254c 096/187: * smtpmail-async.el (async-smtpmail-send-it): Eval content of buffer outside temp buffer.(attempt to fix issue in mu4e),
Michael Albinus <=
- [elpa] master 1c54de3 091/187: * README.md: Update., Michael Albinus, 2015/12/30
- [elpa] master f48fe54 099/187: * smtpmail-async.el: Try to catch 'done to not exit when smtpmail-via-smtp is recalled (#22)., Michael Albinus, 2015/12/30
- [elpa] master 85cedab 085/187: * async-file.el: Removed., Michael Albinus, 2015/12/30
- [elpa] master addec5e 102/187: * smtpmail-async.el (async-smtpmail-send-it): Inject the value of auth-sources (#22), Michael Albinus, 2015/12/30
- [elpa] master cca41ed 106/187: * README.md: Fix typo., Michael Albinus, 2015/12/30
- [elpa] master fe319a7 101/187: * smtpmail-async.el (async-smtpmail-before-send-hook): New hook that run on child emacs before sending., Michael Albinus, 2015/12/30
- [elpa] master b962cbf 105/187: Merge pull request #32 from Trevoke/patch-1, Michael Albinus, 2015/12/30
- [elpa] master ed0202f 109/187: fix #33 async-start evals (symbol-file 'async-batch-invoke 'defun) at compile time, Michael Albinus, 2015/12/30
- [elpa] master f81ff95 108/187: Remove version number in all files., Michael Albinus, 2015/12/30
- [elpa] master 79e6110 113/187: Add comments, no--code-change., Michael Albinus, 2015/12/30