瀏覽代碼

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