1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-25 10:47:12 +00:00

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

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))