Fix bug in org-capture file+datetree+promt target type
commitacfd6ff3bc16b02760588a3954f4c47a152db1c1
authorCarsten Dominik <carsten.dominik@gmail.com>
Tue, 6 Dec 2011 08:00:27 +0000 (6 09:00 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 6 Dec 2011 08:00:27 +0000 (6 09:00 +0100)
treeda4528ffd2cbbc3560b38519d44df78386b0a3b2
parent7e49b85c56bc5c71bc44dde2f62a9931698184f9
Fix bug in org-capture file+datetree+promt target type

* lisp/org-capture.el (org-capture-set-target-location): Set the capture
default time also to the prompt time.

In the file+datetree+promt target type, the user is being asked for a
date, where to file an entry.  In the template, there can the escape
placeholders for active and inactive time stamps.  So far, these were
filled with todays date.  This patch changes this behavior, so that
also at %t and %u escaped, the date entered at the prompt will be
used.

Reported by Erik Hetzner.
lisp/org-capture.el