From 7e0243cdbfff925b0ac818d91edbb6539dc62016 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Wed, 12 Jul 2023 14:44:57 -0400 Subject: Remove function `mm/org-agenda-revert-redo-save-all`, was bad idea --- init.el | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 733f222..1b902ec 100644 --- a/init.el +++ b/init.el @@ -1094,16 +1094,6 @@ :todo "NEXT") (:discard (:anything t))))))))))) -;; Save org files before updating Agenda view -(defun mm/org-agenda-revert-redo-save-all () - "Revert then save all `org-mode' buffers, then `org-agenda-redo-all'." - (interactive) - (progn - (org-revert-all-org-buffers) - (org-save-all-org-buffers) - (org-agenda-redo-all))) -(define-key org-agenda-keymap (kbd "g") 'mm/org-agenda-revert-redo-save-all) - ;; Update agenda periodically every `mm/refresh-agenda-time-seconds' seconds. ;; This was taken from https://emacs.stackexchange.com/a/68767/38877 -- cgit v1.2.3