Add org-scractch function

This commit is contained in:
Jeremy Dormitzer 2023-09-26 10:20:58 -04:00
parent aae7be3858
commit 373cf299e9

View File

@ -9,6 +9,10 @@
:config
(add-hook 'org-mode-hook #'olivetti-mode)
(add-hook 'org-mode-hook (lambda () (require 'org-attach)))
(defun org-scratch ()
(interactive)
(switch-to-buffer "*org-scratch*")
(org-mode))
(defun org-find-daily-note ()
(interactive)
(let* ((filename (expand-file-name