diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index ac3ae7f..3ecbebf 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -944,8 +944,9 @@ tasks." ;; Adds hook to org agenda mode, making follow mode active in org agenda (add-hook 'org-agenda-mode-hook 'org-agenda-open-hook) -;; Auto updates agenda on syncthing changes -;; from https://www.reddit.com/r/orgmode/comments/mu6n5b/org_agenda_auto_updating/ +;; Easy refreshes on org agenda for syncthing file changes +;; adapted from https://www.reddit.com/r/orgmode/comments/mu6n5b/org_agenda_auto_updating/ +;; and https://lists.gnu.org/archive/html/help-gnu-emacs/2008-12/msg00435.html (defadvice org-agenda-list (before refresh-org-agenda-on-revert activate) (mapc (lambda (file) (unless (verify-visited-file-modtime (get-file-buffer file)) diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index e9186bc..acb4318 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -1097,8 +1097,9 @@ On Wayland, EAF doesn't work. ;; Adds hook to org agenda mode, making follow mode active in org agenda (add-hook 'org-agenda-mode-hook 'org-agenda-open-hook) -;; Auto updates agenda on syncthing changes -;; from https://www.reddit.com/r/orgmode/comments/mu6n5b/org_agenda_auto_updating/ +;; Easy refreshes on org agenda for syncthing file changes +;; adapted from https://www.reddit.com/r/orgmode/comments/mu6n5b/org_agenda_auto_updating/ +;; and https://lists.gnu.org/archive/html/help-gnu-emacs/2008-12/msg00435.html (defadvice org-agenda-list (before refresh-org-agenda-on-revert activate) (mapc (lambda (file) (unless (verify-visited-file-modtime (get-file-buffer file))