summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-02-12 00:42:59 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-02-12 00:46:29 +0100
commitfd51dad9999b7f2300ec85044f893d940ba0d095 (patch)
tree97751b20c2521ae9963221b6d9f9bfc325786498
parent23d4d869f5421ae026e85ad13f46f59293e1e73d (diff)
downloadorg-mode-fd51dad9999b7f2300ec85044f893d940ba0d095.tar.gz
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.
-rwxr-xr-xlisp/org.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 64b546f..1049ea6 100755
--- a/lisp/org.el
+++ b/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