diff options
author | Kyle Meyer <kyle@kyleam.com> | 2021-05-23 22:54:40 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2021-06-11 23:14:22 -0400 |
commit | 9c537f08ceb7c8594d97270c614680638f2695f6 (patch) | |
tree | 3564029b9563f3f615464c7df21feba01aaa3340 /lisp | |
parent | 078fb7ebb5f2e4b7b0c990c928de9f55eabf3a92 (diff) | |
download | emacs.d-9c537f08ceb7c8594d97270c614680638f2695f6.tar.gz |
org: Add command for finding/creating datetree for today
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/km-org.el | 8 |
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 |