From 4a631383dd74e3fddd1baead7e6c20d93df4d2c5 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 21 Mar 2018 12:49:41 +0100 Subject: [PATCH] Remove unused regexp * lisp/org.el (org-log-drawer-start-re): (org-log-drawer-end-re) (org-log-drawer-re): Remove variables. --- lisp/org.el | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index df48adff0..a5b05ed56 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -23625,21 +23625,6 @@ when non-nil, is a regexp matching keywords names." (and extra (concat (and kwds "\\|") extra)) "\\):[ \t]*\\(.*\\)")) -;;; Log drawer regular expressions - -(defvar org-log-drawer-start-re - (concat "^[ ]*:%s:[ ]*$" (org-log-into-drawer)) - "Regular expression matching the first line of a clock drawer.") - -(defconst org-log-drawer-end-re - org-clock-drawer-end-re - "Regular expression matching the last line of a log drawer.") - -(defconst org-log-drawer-re - (concat "\\(" org-log-drawer-start-re "\\)[^\000]*?\\(" - org-log-drawer-end-re "\\)\n?") - "Matches an entire log drawer.") - ;;; Finish up