fix(emacs): limit org-caldav to 30 days of past events
Some checks failed
CI / check (push) Has been cancelled
Some checks failed
CI / check (push) Has been cancelled
Prevents downloading years of historical calendar entries.
This commit is contained in:
@@ -124,6 +124,9 @@
|
|||||||
;; Backup file for entries before modification
|
;; Backup file for entries before modification
|
||||||
(setq org-caldav-backup-file (expand-file-name ".org-caldav/backup.org" org-directory))
|
(setq org-caldav-backup-file (expand-file-name ".org-caldav/backup.org" org-directory))
|
||||||
|
|
||||||
|
;; Limit past events to 30 days (avoids downloading years of history)
|
||||||
|
(setq org-caldav-days-in-past 30)
|
||||||
|
|
||||||
;; Sync behavior: bidirectional by default
|
;; Sync behavior: bidirectional by default
|
||||||
(setq org-caldav-sync-direction 'twoway)
|
(setq org-caldav-sync-direction 'twoway)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user