From 5945beef05120ce319228195a9e0c562f8573d19 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 27 Nov 2014 00:21:03 +0100 Subject: [PATCH] `org-add-planning-info' need not be interactive * lisp/org.el (org-add-planning-info): Remove interactive status. Fix docstring. --- lisp/org.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 25ad878c4..44047b7a6 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)) -- 2.11.4.GIT