From 9053b19dfd982f77d846b62a841761e4a9eed340 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Tue, 6 Feb 2024 17:12:23 -0500 Subject: [PATCH] fix(emacs): remove auto-save for org buffers during function calls Signed-off-by: Lucas Sta Maria --- .emacs.d/include/orgconfig.el | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.emacs.d/include/orgconfig.el b/.emacs.d/include/orgconfig.el index e852083..e86682f 100644 --- a/.emacs.d/include/orgconfig.el +++ b/.emacs.d/include/orgconfig.el @@ -45,14 +45,6 @@ `(lambda (&rest _rest) (funcall ,fnc))) -;; Auto-save org buffers -(advice-add 'org-deadline :after (η #'org-save-all-org-buffers)) -(advice-add 'org-schedule :after (η #'org-save-all-org-buffers)) -(advice-add 'org-store-log-note :after (η #'org-save-all-org-buffers)) -(advice-add 'org-todo :after (η #'org-save-all-org-buffers)) -(advice-add 'org-refile :after (η #'org-save-all-org-buffers)) -(advice-add 'org-sort :after (η #'org-save-all-org-buffers)) - ;; Org hooks (add-hook 'org-mode-hook (lambda ()