From 4247150094b85b7f380b13a1a7dfd0a2edf70b2d Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Sun, 17 Oct 2010 17:37:23 +0100 Subject: [PATCH] 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' --- lisp/ob.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob.el b/lisp/ob.el index 32422f129..6403ade6e 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