summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-08-21 23:48:36 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-08-21 23:48:36 +0200
commit2316925ecb4f7c1cdf4b9c452e7a6cd590ece95b (patch)
treed8fb497bef4eeae156efc08b0e48d35aae47ba0c
parenta834a5939fd7fa9b7184ebc0a4587a72916f907f (diff)
downloadorg-mode-2316925ecb4f7c1cdf4b9c452e7a6cd590ece95b.tar.gz
Revert "org-capture: Fix datetree capture"
This reverts commit a834a5939fd7fa9b7184ebc0a4587a72916f907f.
-rw-r--r--lisp/org-capture.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index ee94ee9..bfdb475 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -929,12 +929,7 @@ Store them in the capture property list."
(time-to-days prompt-time)))
(t
;; current date, possibly corrected for late night workers
- (org-today)))))
- ;; If `org-datetree-add-timestamp' is non-nil, point is not
- ;; located on a headline. However `file+datetree' expects
- ;; a node where to paste captured tree. Thus, we make sure to
- ;; move to day heading.
- (org-back-to-heading t))
+ (org-today))))))
((eq (car target) 'file+function)
(set-buffer (org-capture-target-buffer (nth 1 target)))