aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.el b/init.el
index 27bb531..565b15e 100644
--- a/init.el
+++ b/init.el
@@ -1091,6 +1091,10 @@
1091 :todo "NEXT") 1091 :todo "NEXT")
1092 (:discard (:anything t))))))))))) 1092 (:discard (:anything t)))))))))))
1093 1093
1094;; Save org files before updating Agenda view
1095(advice-add 'org-agenda-redo :before 'org-save-all-org-buffers)
1096(advice-add 'org-agenda-redo-all :before 'org-save-all-org-buffers)
1097
1094 1098
1095;; Update agenda periodically every `mm/refresh-agenda-time-seconds' seconds. 1099;; Update agenda periodically every `mm/refresh-agenda-time-seconds' seconds.
1096;; This was taken from https://emacs.stackexchange.com/a/68767/38877 1100;; This was taken from https://emacs.stackexchange.com/a/68767/38877