summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/km-org.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/km-org.el b/lisp/km-org.el
index 22055a5..0a628a3 100644
--- a/lisp/km-org.el
+++ b/lisp/km-org.el
@@ -366,6 +366,14 @@ the buffer widened."
(org-show-entry)
(pop-to-buffer (current-buffer))))))
+;;;###autoload
+(defun km/org-datetree-find-today ()
+ (interactive)
+ (require 'org-datetree)
+ (org-datetree-find-date-create
+ (calendar-gregorian-from-absolute
+ (time-to-days nil))))
+
;;; Refiling