diff options
Diffstat (limited to 'lisp/org/org-capture.el')
-rw-r--r-- | lisp/org/org-capture.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/org/org-capture.el b/lisp/org/org-capture.el index a699d2e28fc..0c7f159369f 100644 --- a/lisp/org/org-capture.el +++ b/lisp/org/org-capture.el @@ -1009,9 +1009,8 @@ Store them in the capture property list." (not (= (time-to-days prompt-time) (org-today)))) ;; Use 00:00 when no time is given for another ;; date than today? - (apply #'encode-time - (append '(0 0 0) - (cl-cdddr (decode-time prompt-time))))) + (apply #'encode-time 0 0 0 + (cl-cdddr (decode-time prompt-time)))) ((string-match "\\([^ ]+\\)--?[^ ]+[ ]+\\(.*\\)" org-read-date-final-answer) ;; Replace any time range by its start. |