[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-mime fb265448df 038/118: Merge pull request #14 from u
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-mime fb265448df 038/118: Merge pull request #14 from unhammer/issue13-OPTIONS-noise |
Date: |
Wed, 5 Jan 2022 07:58:45 -0500 (EST) |
branch: elpa/org-mime
commit fb265448df658062bc99a8734a386183b7e59e0a
Merge: ad30f199cb 5f253f541c
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #14 from unhammer/issue13-OPTIONS-noise
only use export header when creating html, keep out of email
---
org-mime.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/org-mime.el b/org-mime.el
index c6047e0507..d86b9aee7c 100644
--- a/org-mime.el
+++ b/org-mime.el
@@ -367,8 +367,8 @@ If ARG is not nil, use `org-mime-fixedwith-wrap' to wrap
the exported text."
(html-end (or (and region-p (region-end))
;; TODO: should catch signature...
(point-max)))
- (body (concat org-mime-default-header
- (buffer-substring html-start html-end)))
+ (body (buffer-substring html-start html-end))
+ (header-body (concat org-mime-default-header body))
(tmp-file (make-temp-name (expand-file-name
"mail" temporary-file-directory)))
;; because we probably don't want to export a huge style file
@@ -380,7 +380,7 @@ If ARG is not nil, use `org-mime-fixedwith-wrap' to wrap
the exported text."
;; to hold attachments for inline html images
(html-and-images
(org-mime-replace-images
- (org-mime--export-string body
+ (org-mime--export-string header-body
'html
(if (fboundp
'org-export--get-inbuffer-options)
(org-export--get-inbuffer-options)))
@@ -388,7 +388,7 @@ If ARG is not nil, use `org-mime-fixedwith-wrap' to wrap
the exported text."
(html-images (unless arg (cdr html-and-images)))
(html (org-mime-apply-html-hook
(if arg
- (format org-mime-fixedwith-wrap body)
+ (format org-mime-fixedwith-wrap header-body)
(car html-and-images)))))
(delete-region html-start html-end)
(save-excursion
- [nongnu] elpa/org-mime 470808cc14 070/118: Added support for MAIL_FROM property, (continued)
- [nongnu] elpa/org-mime 470808cc14 070/118: Added support for MAIL_FROM property, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 5132ec0586 089/118: Improve signature separator regex, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 744f5f3315 090/118: Merge pull request #49 from ahttraga/master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime dc7ae1de85 094/118: Show individual paragraphs in gmail reply quotes, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 85c98739f3 001/118: import original org-mime, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 8d7797ea07 007/118: clean code according to org review, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime b33c96b2d0 015/118: embedded image could use absolute path, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime dd1b9881af 027/118: remove drawers when org-mime-htmlize-subtree at emacs 24.3, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 8067e76eb1 029/118: add documentation on embedded image, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 80b4e3a3b4 008/118: add readme, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime fb265448df 038/118: Merge pull request #14 from unhammer/issue13-OPTIONS-noise,
ELPA Syncer <=
- [nongnu] elpa/org-mime 0752659f7a 042/118: No drawer exporting (default since Emacs 25), ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime db707a7337 040/118: Merge pull request #15 from unhammer/patch-1, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime bc61d4de7d 045/118: Merge pull request #18 from jkitchin/master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 7e89b4b741 053/118: move cond out of the cleanup function, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 7bcb075550 060/118: CI and TDD, fixed some minor bug. bump 0.1.2, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 286330fa15 069/118: fixed: LaTeX fragment not exported correctly, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 6c7ddeaade 068/118: fixed CI, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 73c13fdd0b 075/118: Merge pull request #39 from czan/master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 1162095645 086/118: Catch signature in html convert, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 722a295672 088/118: Merge pull request #48 from ahttraga/sigfix, ELPA Syncer, 2022/01/05