Hi all,
`org-babel-get-src-block-info` on an empty block fails.
Given:
#+BEGIN_SRC c
#+END_SRC
#+BEGIN_SRC c
non-empty
#+END_SRC
Running `org-babel-get-src-block-info` with point at the beginning of the
first line gives:
("c" "#+END_SRC
#+BEGIN_SRC c
non-empty" ((:colname-names) (:rowname-names) (:result-params "replace")
(:result-type . value) (:comments . "") (:shebang . "") (:cache . "no")
(:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code")
(:results . "replace") ...) "" nil 0 8)
The problem is somewhere in `org-babel-src-block-regex` but I didn't want
to mess with it because it touches all parts of org-babel and I'm not sure
what else would break.
Any advice on how to fix this is appreciated.
-deech