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

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

[nongnu] elpa/org-mime b3932a64ca: doc


From: ELPA Syncer
Subject: [nongnu] elpa/org-mime b3932a64ca: doc
Date: Sun, 16 Jan 2022 23:58:13 -0500 (EST)

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

    doc
---
 README.org  |  5 +++--
 org-mime.el | 14 +++++++-------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/README.org b/README.org
index c706e6ec5f..6763f73a6b 100644
--- a/README.org
+++ b/README.org
@@ -101,9 +101,10 @@ For other customization options see the org-mime 
customization group.
 ** Beautify quoted mail when replying
 It already works out of box. Currently it emulate Gmail's style. You can go 
back the old Gnus style by =(setq org-mime-beautify-quoted-mail nil)=.
 ** Export options
-To avoid exporting TOC, you can setup =org-mime-export-options=,
+To avoid exporting TOC, you can setup =org-mime-export-options= which 
overrides Org default settings (but still inferior to file-local settings),
 #+begin_src elisp
-(setq org-mime-export-options '(:section-numbers nil
+(setq org-mime-export-options '(:with-latex dvipng
+                                :section-numbers nil
                                 :with-author nil
                                 :with-toc nil))
 #+end_src
diff --git a/org-mime.el b/org-mime.el
index f747b27795..3cc6716e69 100644
--- a/org-mime.el
+++ b/org-mime.el
@@ -56,10 +56,12 @@
 ;;   :END:
 ;;
 ;; To avoid exporting the table of contents, you can setup
-;; `org-mime-export-options':
-;;   (setq org-mime-export-options '(:section-numbers nil
+;; `org-mime-export-options' as below,
+;;   (setq org-mime-export-options '(:with-latex dvipng
+;;                                   :section-numbers nil
 ;;                                   :with-author nil
 ;;                                   :with-toc nil))
+;; It overrides Org default settings, but still inferior to file-local 
settings.
 ;;
 ;; Or just setup your export options in the org buffer/subtree.  These are
 ;; overridden by `org-mime-export-options' when it is non-nil.
@@ -168,10 +170,8 @@ 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))'")
+You could avoid exporting section-number/author/toc.
+It overrides Org default settings, but still inferior to file-local settings.")
 
 (defvar org-mime-html-hook nil
   "Hook to run over the html buffer before attachment to email.
@@ -221,7 +221,7 @@ buffer holding the text to be exported.")
   (car (memq org-mime-export-ascii '(ascii utf-8 latin1))))
 
 (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."
+  "Export `TEXT-FOR-ASCII' to ascii format or use TEXT-FOR-PLAIN with OPTS."
   (let* ((ascii-charset (org-mime-use-ascii-charset)))
     (cond
      (ascii-charset



reply via email to

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