Browse Source

fix bug introduced in c1226e8

* lisp/ob-core.el (org-ts-regexp): Declare this here as well.
Eric Schulte 5 years ago
parent
commit
ab49324917
1 changed files with 2 additions and 1 deletions
  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))