diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 4915c85..0b10791 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0602.000455 +;; Version: 2023.0604.153139 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table) ;; This program is free software; you can redistribute it and/or modify @@ -377,6 +377,10 @@ _di_: Add inlineimages STARTUP (defalias 'org-dblock-write:oni-backlinks 'oni-org-dblock-write-backlinks) +;; Create a new archive for each year. This way archives don't keep growing +;; indefinitely and opening the archive doesn't load every single language I've +;; ever used because there are code blocks in there. +(setq org-archive-location (format-time-string "%%s_archive_%Y::")) (setq org-catch-invisible-edits 'error) (setq org-clock-in-switch-to-state #'oni-org-maybe-change-todo-state) (setq org-extend-today-until 2)