summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <eric.schulte@gmx.com>2012-01-27 16:17:21 -0700
committerEric Schulte <eric.schulte@gmx.com>2012-01-27 16:17:21 -0700
commit8c69417861c78965ccb3af387ddcb74c886ef543 (patch)
treeed50f1a4b7aab7f886e14d0a6efe11b11d27ab98
parent1bb2a3c23a49bcb36ab02e5b2cf79909861dbffe (diff)
downloadorg-mode-8c69417861c78965ccb3af387ddcb74c886ef543.tar.gz
add ( to the list of characters allowed to proceed an inline src block
* lisp/ob.el (org-babel-get-inline-src-block-matches): Add ( to the list of characters allowed to proceed an inline src block.
-rw-r--r--lisp/ob.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index e525b23..5cc3cd1 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -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 "[( \t]src_")
+ (t "[( \f\t\n\r\v]src_")))
(lower-limit (if first-line-p
nil
(- (point-at-bol) 1))))