Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2013-12-16 21:04:57 +01:00
commit b44fbb920c
1 changed files with 2 additions and 6 deletions

View File

@ -2909,12 +2909,8 @@ CONTENTS is nil."
Return value is a cons cell whose CAR is `inline-babel-call' and Return value is a cons cell whose CAR is `inline-babel-call' and
CDR is beginning position." CDR is beginning position."
(save-excursion (save-excursion
;; Use a simplified version of (when (re-search-forward org-babel-inline-lob-one-liner-regexp nil t)
;; `org-babel-inline-lob-one-liner-regexp'. (cons 'inline-babel-call (match-end 1)))))
(when (re-search-forward
"call_\\([^()\n]+?\\)\\(?:\\[.*?\\]\\)?([^\n]*?)\\(\\[.*?\\]\\)?"
nil t)
(cons 'inline-babel-call (match-beginning 0)))))
;;;; Inline Src Block ;;;; Inline Src Block