Revert "org.el (org-add-planning-info): Use caller's `org-time-was-given' value"

This reverts commit c7abcd514a.
This commit is contained in:
Bastien 2020-09-06 12:01:54 +02:00
parent 15e2d83313
commit 73a78c2518
1 changed files with 1 additions and 1 deletions

View File

@ -11095,7 +11095,7 @@ 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-end-time-was-given default-time default-input)
(let (org-time-was-given org-end-time-was-given default-time default-input)
(catch 'exit
(when (and (memq what '(scheduled deadline))
(or (not time)