summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Compostella <jeremy.compostella@gmail.com>2011-11-24 16:20:00 +0100
committerEric Schulte <schulte.eric@gmail.com>2011-11-25 09:32:11 -0700
commit09982081b5359472f158f7cd338af33227444a10 (patch)
tree63b8b339605f651cdf41dd63497144c6fdf9f599
parent4e2aaadda9c8c70320b41cd2c6402951a727d278 (diff)
downloadorg-mode-09982081b5359472f158f7cd338af33227444a10.tar.gz
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.
-rw-r--r--lisp/ob-exp.el2
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))