Browse Source

Turn momentarily planning keywords into defvar

* lisp/org.el (org-closed-string, org-deadline-string,
  org-scheduled-string): Use a defvar.

DEADLINE, SCHEDULED and CLOSED are now meant to be constants. However,
we preserve backward-compatibility during obsolencence phase.
Nicolas Goaziou 10 years ago
parent
commit
fd51dad999
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lisp/org.el

+ 3 - 3
lisp/org.el

@@ -375,16 +375,16 @@ FULL is given."
 (defconst org-clock-string "CLOCK:"
   "String used as prefix for timestamps clocking work hours on an item.")
 
-(defconst org-closed-string "CLOSED:"
+(defvar org-closed-string "CLOSED:"
   "String used as the prefix for timestamps logging closing a TODO entry.")
 
-(defconst org-deadline-string "DEADLINE:"
+(defvar org-deadline-string "DEADLINE:"
   "String to mark deadline entries.
 A deadline is this string, followed by a time stamp.  Should be a word,
 terminated by a colon.  You can insert a schedule keyword and
 a timestamp with \\[org-deadline].")
 
-(defconst org-scheduled-string "SCHEDULED:"
+(defvar org-scheduled-string "SCHEDULED:"
   "String to mark scheduled TODO entries.
 A schedule is this string, followed by a time stamp.  Should be a word,
 terminated by a colon.  You can insert a schedule keyword and