summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Davison <davison@stats.ox.ac.uk>2010-10-17 17:37:23 +0100
committerDan Davison <davison@stats.ox.ac.uk>2010-10-21 13:06:55 +0100
commit4247150094b85b7f380b13a1a7dfd0a2edf70b2d (patch)
treefb89998b89347b46c449f3502ed75ebd0e1b105b
parent24cde316a1eda936e92d36ada47b17d4dc0dc0cd (diff)
downloadorg-mode-4247150094b85b7f380b13a1a7dfd0a2edf70b2d.tar.gz
babel: Don't resolve variable references during `org-babel-demarcate-block'
* ob.el (org-babel-demarcate-block): Use light version of `org-babel-get-src-block-info'
-rw-r--r--lisp/ob.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index 32422f1..6403ade 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -1178,7 +1178,7 @@ split. When called from outside of a code block a new code block
is created. In both cases if the region is demarcated and if the
region is not active then the point is demarcated."
(interactive "P")
- (let ((info (org-babel-get-src-block-info))
+ (let ((info (org-babel-get-src-block-info 'light))
(stars (concat (make-string (or (org-current-level) 1) ?*) " ")))
(if info
(mapc