dotfiles/emacs-lisp/daylies.org
main 0406c2b539
A lot of Emacs config edits
Signed-off-by: main <magic_rb@redalder.org>
2022-05-02 23:32:46 +02:00

612 B

Daylies

Daylies, are like scratch buffers, but they are saved. So I can shove stuff in them and they are nicely kept for later reference. Kind of INBOX.

  (add-hook 'emacs-startup-hook
            (lambda ()
               (with-current-buffer "*scratch*"
                (org-mode)
                (set-visited-file-name
                 (format "~/roam/daylies/%s.org"
                         (format-time-string "%Y-%m-%d")))
                (rename-buffer "*scratch*"))))