allow *any* punctuation to proceed an inline src block
Thanks to Martyn Jago for this change. * lisp/ob.el (org-babel-get-inline-src-block-matches): Allow *any* punctuation to proceed an inline src block.
This commit is contained in:
parent
8c69417861
commit
3451d35fcd
|
@ -176,8 +176,8 @@ Returns non-nil if match-data set"
|
|||
(first-line-p (= 1 (line-number-at-pos)))
|
||||
(orig (point)))
|
||||
(let ((search-for (cond ((and src-at-0-p first-line-p "src_"))
|
||||
(first-line-p "[( \t]src_")
|
||||
(t "[( \f\t\n\r\v]src_")))
|
||||
(first-line-p "[[:punct:] \t]src_")
|
||||
(t "[[:punct:] \f\t\n\r\v]src_")))
|
||||
(lower-limit (if first-line-p
|
||||
nil
|
||||
(- (point-at-bol) 1))))
|
||||
|
|
Loading…
Reference in New Issue