From 86bd70539203443679fd55788db2a598529135d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Compostella?= Date: Thu, 24 Nov 2011 16:20:00 +0100 Subject: [PATCH] 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. --- lisp/ob-exp.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el index f2e20a0..de3a4c8 100644 --- a/lisp/ob-exp.el +++ b/lisp/ob-exp.el @@ -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)) -- 1.7.5.4