Browse Source

org-manual: Improve %(sexp) capture template placeholder documentation

* doc/org-manual.org (Template expansion): Improve documentation for
%(sexp) documentation.
Nicolas Goaziou 6 years ago
parent
commit
adec504d5b
1 changed files with 5 additions and 1 deletions
  1. 5 1
      doc/org-manual.org

+ 5 - 1
doc/org-manual.org

@@ -7368,7 +7368,11 @@ here:
 - =%(EXP)= ::
 
      Evaluate Elisp expression {{{var(EXP)}}} and replace it with the
-     result.  The {{{var(EXP)}}} form must return a string.
+     result.  The {{{var(EXP)}}} form must return a string.  Only
+     placeholders pre-existing within the template, or introduced with
+     =%[file]=, are expanded this way.  Since this happens after
+     expanding non-interactive "%-escapes", those can be used to fill
+     the expression.
 
 - =%<FORMAT>= ::