modify archive function

This commit is contained in:
LinlyBoi
2025-03-04 03:34:41 +02:00
parent 68eff55196
commit cc36054b83

View File

@@ -527,5 +527,6 @@
(lambda ()
(org-archive-subtree)
(setq org-map-continue-from (org-element-property :begin (org-element-at-point))))
"/DONE" 'agenda))
(add-hook 'kill-emacs-hook #'org-archive-done-tasks)
"/DONE" 'agenda)
(org-save-all-org-buffers))
(add-hook 'kill-emacs-hook 'org-archive-done-tasks)