>From 5f2621aeda0fa1eb1b976ce85bad7006f45921ea Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 2 Jun 2013 11:16:54 -0500 Subject: [PATCH] Respect the "org-export-babel-evaluate" variable while exporting. For some reason, this variable existed, but wasn't being respected on export. --- lisp/ox.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index 0e32cf3..a1f8058 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -2949,7 +2949,8 @@ Return code as a string." ;; added some new ones. (org-macro-initialize-templates) (org-macro-replace-all org-macro-templates) - (org-export-execute-babel-code) + (if org-export-babel-evaluate + (org-export-execute-babel-code)) ;; Update radio targets since keyword inclusion might have ;; added some more. (org-update-radio-target-regexp) -- 1.7.10.4