From 9c537f08ceb7c8594d97270c614680638f2695f6 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 23 May 2021 22:54:40 -0400 Subject: org: Add command for finding/creating datetree for today --- lisp/km-org.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lisp') 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 -- cgit v1.2.3