浏览代码

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

* doc/org-manual.org (Template expansion): Improve documentation for
%(sexp) documentation.
Nicolas Goaziou 6 年之前
父节点
当前提交
adec504d5b
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      doc/org-manual.org

+ 5 - 1
doc/org-manual.org

@@ -7368,7 +7368,11 @@ here:
 - =%(EXP)= ::
 - =%(EXP)= ::
 
 
      Evaluate Elisp expression {{{var(EXP)}}} and replace it with the
      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>= ::
 - =%<FORMAT>= ::