瀏覽代碼

fix bug introduced in c1226e8

* lisp/ob-core.el (org-ts-regexp): Declare this here as well.
Eric Schulte 12 年之前
父節點
當前提交
ab49324917
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lisp/ob-core.el

+ 2 - 1
lisp/ob-core.el

@@ -36,7 +36,8 @@
 (defvar org-babel-call-process-region-original)
 (defvar org-src-lang-modes)
 (defvar org-babel-library-of-babel)
-(defvar org-ts-regexp)
+(defconst org-ts-regexp "<\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?[^\r\n>]*?\\)>"
+  "Regular expression for fast time stamp matching.")
 (declare-function show-all "outline" ())
 (declare-function org-reduce "org" (CL-FUNC CL-SEQ &rest CL-KEYS))
 (declare-function org-mark-ring-push "org" (&optional pos buffer))