浏览代码

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.
Eric Schulte 13 年之前
父节点
当前提交
8c69417861
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lisp/ob.el

+ 2 - 2
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))))