Explorar o código

org-macro: Fix incomplete docstring

* lisp/org-macro.el (org-macro-replace-all): Document missing KEYWORDS
  optional argument.
Nicolas Goaziou %!s(int64=10) %!d(string=hai) anos
pai
achega
ecc8b9f3db
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      lisp/org-macro.el

+ 4 - 1
lisp/org-macro.el

@@ -166,7 +166,10 @@ TEMPLATES is an alist of templates used for expansion.  See
 `org-macro-templates' for a buffer-local default value.
 
 If optional arg FINALIZE is non-nil, raise an error if a macro is
-found in the buffer with no definition in TEMPLATES."
+found in the buffer with no definition in TEMPLATES.
+
+Optional argument KEYWORDS, when non-nil is a list of keywords,
+as strings, where macro expansion is allowed."
   (save-excursion
     (goto-char (point-min))
     (let ((properties-regexp