(feature): add org-roam-yesterday (#215)

Closes #214
This commit is contained in:
Jethro Kuan
2020-03-02 02:53:53 +08:00
committed by GitHub
parent 4c3d5b90a7
commit b74cc14377

View File

@@ -773,6 +773,12 @@ INFO is an alist containing additional information."
(let ((path (org-roam--file-for-time (time-add 86400 (current-time))))) (let ((path (org-roam--file-for-time (time-add 86400 (current-time)))))
(org-roam--find-file path))) (org-roam--find-file path)))
(defun org-roam-yesterday ()
"Create and find the file for yesterday."
(interactive)
(let ((path (org-roam--file-for-time (time-add -86400 (current-time)))))
(org-roam--find-file path)))
(defun org-roam-date () (defun org-roam-date ()
"Create the file for any date using the calendar." "Create the file for any date using the calendar."
(interactive) (interactive)