summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2014-11-26 23:21:03 (GMT)
committer Nicolas Goaziou <mail@nicolasgoaziou.fr>2014-11-26 23:23:35 (GMT)
commit5945beef05120ce319228195a9e0c562f8573d19 (patch)
treeffd4b7f15a928219d69b769c21fc2e09827b9d1e
parent80d13fffe08ff61fcaec1b43717128456e550fce (diff)
downloadorg-mode-master.zip
org-mode-master.tar.gz
`org-add-planning-info' need not be interactiveHEADmaster
* lisp/org.el (org-add-planning-info): Remove interactive status. Fix docstring.
-rwxr-xr-xlisp/org.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 25ad878..44047b7 100755
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -13479,12 +13479,12 @@ nil."
(defvar org-end-time-was-given) ; dynamically scoped parameter
(defun org-add-planning-info (what &optional time &rest remove)
- "Insert new timestamp with keyword in the line directly after the headline.
-WHAT indicates what kind of time stamp to add. TIME indicates the time to use.
-If non is given, the user is prompted for a date.
-REMOVE indicates what kind of entries to remove. An old WHAT entry will also
-be removed."
- (interactive)
+ "Insert new timestamp with keyword in the planning line.
+WHAT indicates what kind of time stamp to add. It is a symbol
+among `closed', `deadline', `scheduled' and nil. TIME indicates
+the time to use. If none is given, the user is prompted for
+a date. REMOVE indicates what kind of entries to remove. An old
+WHAT entry will also be removed."
(let (org-time-was-given org-end-time-was-given default-time default-input)
(catch 'exit
(when (and (memq what '(scheduled deadline))