[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-mime b1fc1cc53c 116/118: Fix byte-compiler warnings
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-mime b1fc1cc53c 116/118: Fix byte-compiler warnings |
Date: |
Wed, 5 Jan 2022 07:58:51 -0500 (EST) |
branch: elpa/org-mime
commit b1fc1cc53c12d59ab7e97ac31a8cebf735e537b6
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Fix byte-compiler warnings
---
org-mime.el | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/org-mime.el b/org-mime.el
index 18ee99f33c..f747b27795 100644
--- a/org-mime.el
+++ b/org-mime.el
@@ -169,7 +169,9 @@ Default (nil) selects the original org file."
(defvar org-mime-export-options '(:with-latex dvipng)
"Default export options which may override org buffer/subtree options.
You avoid exporting section-number/author/toc with the setup below,
-`(setq org-mime-export-options '(:section-numbers nil :with-author nil
:with-toc nil))'")
+`(setq org-mime-export-options '(:section-numbers nil
+ :with-author nil
+ :with-toc nil))'")
(defvar org-mime-html-hook nil
"Hook to run over the html buffer before attachment to email.
@@ -218,7 +220,7 @@ buffer holding the text to be exported.")
"Return nil unless org-mime-export-ascii is set to a valid value."
(car (memq org-mime-export-ascii '(ascii utf-8 latin1))))
-(defun org-mime-export-ascii-maybe (text-for-ascii text-for-plain)
+(defun org-mime-export-ascii-maybe (text-for-ascii text-for-plain &optional
opts)
"Export `TEXT-FOR-ASCII' to ascii format or use TEXT-FOR-PLAIN."
(let* ((ascii-charset (org-mime-use-ascii-charset)))
(cond
@@ -232,7 +234,7 @@ buffer holding the text to be exported.")
"Similar to `org-html-export-as-html' and `org-org-export-as-org'.
SUBTREEP is t if current node is subtree."
(let* ((opts (org-mime-get-export-options subtreep))
- (plain (org-mime-export-ascii-maybe (buffer-string) (buffer-string)))
+ (plain (org-mime-export-ascii-maybe (buffer-string) (buffer-string)
opts))
(buf (org-export-to-buffer 'html "*Org Mime Export*" nil subtreep nil
t opts))
(body (prog1
(with-current-buffer buf
@@ -334,7 +336,8 @@ HTML is the body of the message."
(defun org-mime-multipart (plain html &optional images)
"Markup PLAIN body a multipart/alternative with HTML alternatives.
-If html portion of message includes IMAGES they are wrapped in
multipart/related part."
+If html portion of message includes IMAGES they are wrapped in
+multipart/related part."
(cl-case org-mime-library
(mml (concat "<#multipart type=alternative>\n<#part type=text/plain>\n"
plain
@@ -797,8 +800,7 @@ Following headline properties can determine the mail
headers.
(define-minor-mode org-mime-src-mode
"Minor mode for org major mode buffers generated from mail body."
- nil " OrgMimeSrc" nil
- )
+ :lighter " OrgMimeSrc")
(add-hook 'org-mime-src-mode-hook #'org-mime-src-mode-configure-edit-buffer)
(defun org-mime-src--make-source-overlay (beg end)
- [nongnu] elpa/org-mime 722a295672 088/118: Merge pull request #48 from ahttraga/sigfix, (continued)
- [nongnu] elpa/org-mime 722a295672 088/118: Merge pull request #48 from ahttraga/sigfix, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 168fe3a6a1 092/118: Merge pull request #51 from borwickatuw/master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 4e5d50789b 097/118: Clean up name of test file in comment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 73fdd3f40d 098/118: Merge pull request #53 from tomheon/clean-up-test-header, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime d71f57dc0d 096/118: Add a simple test for quoting of multi-line paragraphs, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 5df12989cd 101/118: clean code, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime d725955399 105/118: stop bundling htmlize, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime e5345ae5b6 104/118: fixed ci, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime 23cc52bb53 111/118: donot htmlize security signature and attachment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime d52a7b52b6 114/118: fixed revert plain text email bug, ELPA Syncer, 2022/01/05
- [nongnu] elpa/org-mime b1fc1cc53c 116/118: Fix byte-compiler warnings,
ELPA Syncer <=
- [nongnu] elpa/org-mime 613969effc 118/118: Merge pull request #67 from skangas/silence-byte-compiler, ELPA Syncer, 2022/01/05