From: rearman Date: Tue, 17 Mar 2026 21:01:08 +0000 (-0400) Subject: Change up archive X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=70f0a7c5cf726401689c69f85aefec750e356974;p=emacsinit.git Change up archive One archive file, and add it to auto-mode-alist. --- diff --git a/re/re-org.el b/re/re-org.el index c50f006..3b66125 100644 --- a/re/re-org.el +++ b/re/re-org.el @@ -134,9 +134,9 @@ (advice-add 'org-refile :after (lambda (&rest _) (re/org-save-all))) ;; Archiving (use re/org-archive-all periodically) -(setq org-archive-location (concat "~/org/" - (format-time-string "%Y" (current-time)) - ".org::datetree/")) +(setq org-archive-location (concat "~/org/old.org_archive::datetree/")) + +(add-to-list 'auto-mode-alist '("\\.org_archive\\'" . org-mode)) (provide 're-org) ;;; re-org.el ends here