summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Berry <ccberry@ucsd.edu>2016-06-08 20:18:56 -0700
committerCharles Berry <ccberry@ucsd.edu>2016-07-03 09:58:42 -0700
commitea94c14d924a0aa2cb4ead79d8772268fb933e48 (patch)
tree48ce33f5df0d61083a6a3e08d87c8e1a3eb9f77e
parent43303e4e9242fde58c235c05277ea7576483d1a8 (diff)
downloadorg-mode-ea94c14d924a0aa2cb4ead79d8772268fb933e48.tar.gz
org-export-babel-evaluate docstring expanded.
* lisp/ob-exp.el (org-export-babel-evaluate); Inform users that `:eval never-export' should be used to avoid rerunning code on export. Some users are puzzled when setting this variable to `nil' disables all of babel. The issue was raised by Ken Mankoff: http://article.gmane.org/gmane.emacs.orgmode/107230
-rw-r--r--lisp/ob-exp.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el
index dab47b6..6150026 100644
--- a/lisp/ob-exp.el
+++ b/lisp/ob-exp.el
@@ -41,8 +41,10 @@
(defcustom org-export-babel-evaluate t
"Switch controlling code evaluation during export.
When set to nil no code will be evaluated as part of the export
-process. When set to `inline-only', only inline code blocks will
-be executed."
+process and no header argumentss will be obeyed. When set to
+`inline-only', only inline code blocks will be executed. Users
+who wish to avoid evaluating code on export should use the header
+argument `:eval never-export'."
:group 'org-babel
:version "24.1"
:type '(choice (const :tag "Never" nil)