]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/rstdoc.el
emacs: Improve doc-strings
[notmuch] / emacs / rstdoc.el
index 2af91186863db5804f3ebd0ac653fcdfd8c427c0..92a337c841fad6bbf90ca8d0772c9a00cf65f099 100644 (file)
 (provide 'rstdoc)
 
 (defun rstdoc-batch-extract ()
-  "Extract docstrings to and from the files on the command line"
+  "Extract docstrings to and from the files on the command line."
   (apply #'rstdoc-extract command-line-args-left))
 
 (defun rstdoc-extract (in-file out-file)
-  "Write docstrings from IN-FILE to OUT-FILE"
+  "Write docstrings from IN-FILE to OUT-FILE."
   (load-file in-file)
   (let* ((definitions (cdr (assoc (expand-file-name in-file) load-history)))
         (doc-hash (make-hash-table :test 'eq)))
@@ -72,7 +72,7 @@
      ("\\([^\\]\\)'" . "\\1`")
      ("^[[:space:]\t]*$" . "|br|")
      ("^[[:space:]\t]" . "|indent| "))
-    "list of (regex . replacement) pairs")
+  "List of (regex . replacement) pairs.")
 
 (defun rstdoc--rst-quote-string (str)
   (with-temp-buffer