Remove unused regexp

* lisp/org.el (org-log-drawer-start-re):
(org-log-drawer-end-re)
(org-log-drawer-re): Remove variables.
This commit is contained in:
Nicolas Goaziou 2018-03-21 12:49:41 +01:00
parent f0958d559c
commit 4a631383dd
1 changed files with 0 additions and 15 deletions

View File

@ -23625,21 +23625,6 @@ when non-nil, is a regexp matching keywords names."
(and extra (concat (and kwds "\\|") extra)) (and extra (concat (and kwds "\\|") extra))
"\\):[ \t]*\\(.*\\)")) "\\):[ \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 ;;; Finish up