From 19402826a18e44ac5089e9933ce35a4401ba5e37 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Wed, 23 Jul 2025 20:54:25 +0200 Subject: [PATCH] save org agenda stuff when leaving --- ReadMe.org | 1 + 1 file changed, 1 insertion(+) diff --git a/ReadMe.org b/ReadMe.org index 519e6db..eab82ce 100644 --- a/ReadMe.org +++ b/ReadMe.org @@ -875,6 +875,7 @@ To add new tasks to my agenda, I first use a capture template to generally write "* PHONE %? :PHONE:\n%U" :clock-in t :clock-resume t) ("h" "Habit" entry (file "~/dev/todos/inbox.org") "* NEXT %?\n%U\n%a\nSCHEDULED: %(format-time-string \"%<<%Y-%m-%d %a .+1d/3d>>\")\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n"))))) + (advice-add 'org-agenda-quit :before 'org-save-all-org-buffers) #+end_src I will then refile the tasks in inbox to any of my agenda files sections.