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

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

[nongnu] elpa/org-mime b9def25bf4 043/118: Edit docstrings for checkdoc


From: ELPA Syncer
Subject: [nongnu] elpa/org-mime b9def25bf4 043/118: Edit docstrings for checkdoc compatibility.
Date: Wed, 5 Jan 2022 07:58:45 -0500 (EST)

branch: elpa/org-mime
commit b9def25bf49cdc3545a17e67471b675bf833d2d4
Author: John Kitchin <jkitchin@andrew.cmu.edu>
Commit: John Kitchin <jkitchin@andrew.cmu.edu>

    Edit docstrings for checkdoc compatibility.
    
    In most cases this meant adding arguments or making the first line a full
    sentence. In some cases there are minor changes to the docstrings to clarify
    their meaning.
    
    There might be a few whitespace/indentation changes.
---
 org-mime.el | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/org-mime.el b/org-mime.el
index 0bc5a0ebf5..aa3403714f 100644
--- a/org-mime.el
+++ b/org-mime.el
@@ -176,7 +176,9 @@ You could use either `org-up-heading-safe' or 
`org-back-to-heading'.")
   str)
 
 (defun org-mime--export-string (s fmt &optional opts)
-  "Export string S into HTML format.  OPTS is export options."
+  "Export string S into HTML format.
+FMT defines the backend to use for the export.
+OPTS is export options."
   (let* (rlt
          ;; Emacs 25+ prefer exporting drawer by default
          ;; obviously not acception in exporting to mail body
@@ -284,7 +286,8 @@ You could use either `org-up-heading-safe' or 
`org-back-to-heading'.")
     (list b e rlt )))
 
 (defun org-mime-cleanup-quoted (html)
-  "Clean up quoted mail in modern UI style."
+  "Clean up quoted mail in modern UI style.
+HTML is the body of the message."
   (cond
    (org-mime-beautify-quoted-mail
     (let* (info)
@@ -298,7 +301,7 @@ You could use either `org-up-heading-safe' or 
`org-back-to-heading'.")
             (let (retval)
               (condition-case ex
                   (setq info (org-mime-encode-quoted-mail-body))
-                  (setq retval info)
+               (setq retval info)
                 ('error (setq info nil)))
               retval))
         (cond
@@ -425,7 +428,7 @@ If ARG is not nil, use `org-mime-fixedwith-wrap' to wrap 
the exported text."
         txt))))
 
 (defun org-mime-compose (body file &optional to subject headers opts)
-  "Create mail BODY in FILE with SUBJECT, HEADERS and OPTS."
+  "Create mail BODY in FILE with TO, SUBJECT, HEADERS and OPTS."
   (if org-mime-debug (message "org-mime-compose called => %s %s" file opts))
   (let* ((fmt 'html))
     (unless (featurep 'message)
@@ -480,9 +483,9 @@ If ARG is not nil, use `org-mime-fixedwith-wrap' to wrap 
the exported text."
 
 ;;;###autoload
 (defun org-mime-org-subtree-htmlize ()
-  "Create an email buffer containing the current subtree of the
-current org-mode file exported to html and encoded in both html
-and in org formats as mime alternatives."
+  "Create an email buffer of the current subtree.
+The buffer will contain both html and in org formats as mime
+alternatives."
   (interactive)
   (save-excursion
     (funcall org-mime-up-subtree-heading)



reply via email to

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