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'
This commit is contained in:
Dan Davison 2010-10-17 17:37:23 +01:00
parent 24cde316a1
commit 4247150094
1 changed files with 1 additions and 1 deletions

View File

@ -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