org-capture: Fix datetree capture
commita834a5939fd7fa9b7184ebc0a4587a72916f907f
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 21 Aug 2015 21:31:23 +0000 (21 23:31 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 21 Aug 2015 21:31:23 +0000 (21 23:31 +0200)
tree029f715231733482839bf3f568f99d4a86c9ffa9
parent6d3c988561dd1648b9d497aeb3901dafa00312d7
org-capture: Fix datetree capture

* lisp/org-capture.el (org-capture-set-target-location): Fix
  file+datetree capture with non-nil `org-datetree-add-timestamp.

Reported-by: Gregor Zattler <telegraph@gmx.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/100300>
lisp/org-capture.el