ob-core: fix bug when source block is at bob

* lisp/ob-core.el (org-babel-get-src-block-info): Fix bug.
This commit is contained in:
Aaron Ecay 2016-02-06 22:01:22 +00:00
parent cadfbbe8af
commit 825ce04b9e
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ Returns a list
(setq info (org-babel-parse-src-block-match))
(setq indent (car (last info)))
(setq info (butlast info))
(while (and (forward-line -1)
(while (and (= 0 (forward-line -1))
(looking-at org-babel-multi-line-header-regexp))
(setf (nth 2 info)
(org-babel-merge-params