0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 18:36:26 +00:00

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

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