diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-10-06 19:14:21 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-10-06 19:14:21 +0200 |
commit | 9455c6910e513f84a318c292cdc7f4146d47119c (patch) | |
tree | 4c29df591ffe0011d5e1d13e40f0b756bed7d6f2 | |
parent | eeaf9aec107fcf362be4371a7c3bbd8795e236d7 (diff) | |
parent | ce536f637554c630ae81598bca2481c01fa3d697 (diff) | |
download | org-mode-9455c6910e513f84a318c292cdc7f4146d47119c.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org-capture.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 862cdb2..25af674 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1792,11 +1792,10 @@ The template may still contain \"%?\" for cursor positioning." (let* ((upcase? (equal (upcase key) key)) (org-end-time-was-given nil) (time (org-read-date upcase? t nil prompt))) - (let ((org-time-was-given upcase?)) - (org-insert-time-stamp - time org-time-was-given - (member key '("u" "U")) - nil nil (list org-end-time-was-given))))) + (org-insert-time-stamp + time (or org-time-was-given upcase?) + (member key '("u" "U")) + nil nil (list org-end-time-was-given)))) (`nil (push (org-completing-read (concat (or prompt "Enter string") |