浏览代码

Remove unused regexp

* lisp/org.el (org-log-drawer-start-re):
(org-log-drawer-end-re)
(org-log-drawer-re): Remove variables.
Nicolas Goaziou 7 年之前
父节点
当前提交
4a631383dd
共有 1 个文件被更改,包括 0 次插入15 次删除
  1. 0 15
      lisp/org.el

+ 0 - 15
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