ob: ob-demarcate updated to reflect the new info list contents

* lisp/ob.el (org-babel-demarcate-block): updated to reflect the new
  info list contents
This commit is contained in:
Eric Schulte 2010-10-20 20:06:11 -06:00 committed by Dan Davison
parent 6fa1ae974a
commit 91f8cfaebb
1 changed files with 1 additions and 1 deletions

View File

@ -1185,7 +1185,7 @@ region is not active then the point is demarcated."
(save-excursion (save-excursion
(goto-char place) (goto-char place)
(let ((lang (nth 0 info)) (let ((lang (nth 0 info))
(indent (make-string (nth 6 info) ? ))) (indent (make-string (nth 5 info) ? )))
(when (string-match "^[[:space:]]*$" (when (string-match "^[[:space:]]*$"
(buffer-substring (point-at-bol) (buffer-substring (point-at-bol)
(point-at-eol))) (point-at-eol)))