Преглед изворни кода

org-macro: Fix a docstring

* lisp/org-macro.el (org-macro-initialize-templates): Add missing
  macros to docstring.

Reported-by: "Berry, Charles" <ccberry@ucsd.edu>
<http://lists.gnu.org/r/emacs-orgmode/2018-07/msg00032.html>
Nicolas Goaziou пре 6 година
родитељ
комит
84d87d990e
1 измењених фајлова са 7 додато и 4 уклоњено
  1. 7 4
      lisp/org-macro.el

+ 7 - 4
lisp/org-macro.el

@@ -127,11 +127,14 @@ Return an alist containing all macro templates found."
 
 (defun org-macro-initialize-templates ()
   "Collect macro templates defined in current buffer.
+
 Templates are stored in buffer-local variable
-`org-macro-templates'.  In addition to buffer-defined macros, the
-function installs the following ones: \"property\",
-\"time\". and, if the buffer is associated to a file,
-\"input-file\" and \"modification-time\"."
+`org-macro-templates'.
+
+In addition to buffer-defined macros, the function installs the
+following ones: \"n\", \"author\", \"email\", \"keyword\",
+\"results\", \"time\", \"property\", and, if the buffer is
+associated to a file, \"input-file\" and \"modification-time\"."
   (org-macro--counter-initialize)	;for "n" macro
   (setq org-macro-templates
 	(nconc