summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-07-07 12:10:48 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-07-07 12:10:48 +0200
commit84d87d990e378e696936eadce34f0147f9ab9c08 (patch)
tree9891e74a8aa58d95d5aa77cf4699c880fad5947a
parent445dc6af6f6de08ab5542cee6bd3c4ae295cd324 (diff)
downloadorg-mode-84d87d990e378e696936eadce34f0147f9ab9c08.tar.gz
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>
-rw-r--r--lisp/org-macro.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/org-macro.el b/lisp/org-macro.el
index 0ed40f4..dddc5c8 100644
--- a/lisp/org-macro.el
+++ b/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