浏览代码

Revert "Export: Prevent babel src blocks from being evaluated if org-export-babel-evaluate is nil"

This reverts commit 12d592b73223f3b0628e10f0f627447b1a312203.  When
the variable is nil, no block will be processed, which is a bug.
Nicolas Goaziou 12 年之前
父节点
当前提交
27da9a2a0f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ox.el

+ 1 - 1
lisp/ox.el

@@ -2821,7 +2821,7 @@ Return code as a string."
 	 ;; added some new ones.
 	 (org-macro-initialize-templates)
 	 (org-macro-replace-all org-macro-templates)
-	 (when org-export-babel-evaluate (org-export-execute-babel-code))
+	 (org-export-execute-babel-code)
 	 ;; Update radio targets since keyword inclusion might have
 	 ;; added some more.
 	 (org-update-radio-target-regexp)