emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-mime 41ea9818b4 050/118: fix cc, bcc compiling error


From: ELPA Syncer
Subject: [nongnu] elpa/org-mime 41ea9818b4 050/118: fix cc, bcc compiling error
Date: Wed, 5 Jan 2022 07:58:46 -0500 (EST)

branch: elpa/org-mime
commit 41ea9818b4e35555fac5d287a3f8bbf84c694005
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>

    fix cc,bcc compiling error
---
 org-mime.el | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/org-mime.el b/org-mime.el
index aa79097b72..b259347c07 100644
--- a/org-mime.el
+++ b/org-mime.el
@@ -536,10 +536,15 @@ If SUBTREEP is t, curret org node is subtree."
 (defun org-mime-build-mail-other-headers (cc bcc)
   "Build mail header from CC and BCC."
   (cond
-   ((and cc bcc) ((cc . cc) (bcc . bcc)))
-   (cc ((cc . cc)))
-   (bcc ((bcc . bcc)))
-   (t nil)))
+   ((and cc bcc)
+    (list (cons "Cc" cc)
+          (cons "Bcc" bcc)))
+   (cc
+    (list (cons "Cc" cc)))
+   (bcc
+    (list (cons "Bcc" bcc)))
+   (t
+    nil)))
 
 ;;;###autoload
 (defun org-mime-org-buffer-htmlize ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]