Browse Source

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

* doc/org-manual.org (Template expansion): Improve documentation for
%(sexp) documentation.
Nicolas Goaziou 6 năm trước cách đây
mục cha
commit
adec504d5b
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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>= ::