瀏覽代碼

ORG-NEWS: Fix an entry

Nicolas Goaziou 9 年之前
父節點
當前提交
7c08d5c12f
共有 1 個文件被更改,包括 9 次插入7 次删除
  1. 9 7
      etc/ORG-NEWS

+ 9 - 7
etc/ORG-NEWS

@@ -113,13 +113,15 @@ indentation.
 
 *** Secure placeholders in capture templates
 Placeholders in capture templates are no longer expanded recursively.
-However, ~%(...)~ constructs are expanded very late, so you can still
-fill the contents of the S-exp with the replacement text of other
-placeholders.
-
-Only ~%(...)~ placeholders initially present are expanded.  This
-prevents evaluating potentially malicious code when another placehold,
-e.g., ~%i~ expands to a S-exp.
+However, ~%(...)~ constructs are expanded very late, so you can fill
+the contents of the S-exp with the replacement text of non-interactive
+placeholders.  As before, interactive ones are still expanded as the
+very last step, so the previous statement doesn't apply to them.
+
+Note that only ~%(...)~ placeholders initially present in the
+template, or introduced using a file placeholder, i.e., ~%[...]~ are
+expanded.  This prevents evaluating potentially malicious code when
+another placeholder, e.g., ~%i~ expands to a S-exp.
 *** ~org-babel-check-confirm-evaluate~ is now a function instead of a macro
 The calling convention has changed.