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>
This commit is contained in:
Nicolas Goaziou 2018-07-07 12:10:48 +02:00
parent 445dc6af6f
commit 84d87d990e
1 changed files with 7 additions and 4 deletions

View File

@ -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