summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2013-01-30 13:53:50 -0700
committerEric Schulte <schulte.eric@gmail.com>2013-01-30 13:53:55 -0700
commitab4932491787d386a4c438960d97a72b0f59eadc (patch)
treee4238bd101afda36cc3aa50d00eace8ca1e7dd90
parented516e65dcc98f70375fcdeccd05ca18ac56732a (diff)
downloadorg-mode-ab4932491787d386a4c438960d97a72b0f59eadc.tar.gz
fix bug introduced in c1226e8
* lisp/ob-core.el (org-ts-regexp): Declare this here as well.
-rw-r--r--lisp/ob-core.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index fef56ed..4affbe7 100644
--- a/lisp/ob-core.el
+++ b/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))