summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-11-30 12:58:31 (GMT)
committer Nicolas Goaziou <n.goaziou@gmail.com>2012-11-30 12:58:31 (GMT)
commit8783b893119354aaf76cf5861942d3cbffef323d (patch)
tree36a0eeffe45563ac26bc68281ecb89ad35da7462
parent496ed832d8d16dcede4078832b77638744f4a42c (diff)
downloadorg-mode-8783b893119354aaf76cf5861942d3cbffef323d.zip
org-mode-8783b893119354aaf76cf5861942d3cbffef323d.tar.gz
ob: Rename *org-babel-use-quick-and-dirty-noweb-expansion*
* lisp/ob.el (org-babel-use-quick-and-dirty-noweb-expansion): Renamed from *org-babel-use-quick-and-dirty-noweb-expansion*. (org-babel-expand-noweb-references): Use new variable name. This patch brings back the variable in the expected namespace.
-rw-r--r--lisp/ob.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index e0192a1..c030a7f 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -2236,7 +2236,7 @@ parameters when merging lists."
'(results exports tangle noweb padline cache shebang comments))
params))
-(defvar *org-babel-use-quick-and-dirty-noweb-expansion* nil
+(defvar org-babel-use-quick-and-dirty-noweb-expansion nil
"Set to true to use regular expressions to expand noweb references.
This results in much faster noweb reference expansion but does
not properly allow code blocks to inherit the \":noweb-ref\"
@@ -2345,7 +2345,7 @@ block but are passed literally to the \"example-block\"."
expansion)
(save-excursion
(goto-char (point-min))
- (if *org-babel-use-quick-and-dirty-noweb-expansion*
+ (if org-babel-use-quick-and-dirty-noweb-expansion
(while (re-search-forward rx nil t)
(let* ((i (org-babel-get-src-block-info 'light))
(body (org-babel-expand-noweb-references i))