From 27da9a2a0f8ced9b602bf8df064ca7249d862e68 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 18 Feb 2013 21:13:30 +0100 Subject: [PATCH] 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. --- lisp/ox.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index 5c5e42f86..70c59e79d 100644 --- a/lisp/ox.el +++ b/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)