org-babel-exp-lob-one-liners should not parse the entire buffer.

The org-babel-exp-lob-one-liners search "call" pattern through the entire
buffer instead of the region given as arguments.
This commit is contained in:
Jérémy Compostella 2011-11-24 16:20:00 +01:00 committed by Eric Schulte
parent 4e2aaadda9
commit 09982081b5
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ options are taken from `org-babel-default-header-args'."
(save-excursion
(goto-char start)
(while (and (< (point) end)
(re-search-forward org-babel-lob-one-liner-regexp nil t))
(re-search-forward org-babel-lob-one-liner-regexp end t))
(unless (org-babel-in-example-or-verbatim)
(let* ((lob-info (org-babel-lob-get-info))
(inlinep (match-string 11))