summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-12-09 23:36:04 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-12-09 23:36:04 +0100
commitadec504d5ba3f2089cb689ce5a59692a8ebf6735 (patch)
tree6b3213ccd3f8805f8d676c3ffef028b1f1f77ee9
parent601f373e3fd1874bb2603ffe608de550e2177877 (diff)
downloadorg-mode-adec504d5ba3f2089cb689ce5a59692a8ebf6735.tar.gz
org-manual: Improve %(sexp) capture template placeholder documentation
* doc/org-manual.org (Template expansion): Improve documentation for %(sexp) documentation.
-rw-r--r--doc/org-manual.org6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/org-manual.org b/doc/org-manual.org
index 54bbf2a..051ffaa 100644
--- a/doc/org-manual.org
+++ b/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>= ::