diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-07-12 14:44:57 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-07-12 14:44:57 -0400 |
commit | 7e0243cdbfff925b0ac818d91edbb6539dc62016 (patch) | |
tree | f63d0bd10264120cef596d8fe8a4d80d5aa44040 | |
parent | Switch keybinds for `<home>` and `C-<home>` for convenience (diff) | |
download | mmosmacs-7e0243cdbfff925b0ac818d91edbb6539dc62016.tar.gz mmosmacs-7e0243cdbfff925b0ac818d91edbb6539dc62016.tar.bz2 mmosmacs-7e0243cdbfff925b0ac818d91edbb6539dc62016.zip |
Remove function `mm/org-agenda-revert-redo-save-all`, was bad idea
-rw-r--r-- | init.el | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -1094,16 +1094,6 @@ | |||
1094 | :todo "NEXT") | 1094 | :todo "NEXT") |
1095 | (:discard (:anything t))))))))))) | 1095 | (:discard (:anything t))))))))))) |
1096 | 1096 | ||
1097 | ;; Save org files before updating Agenda view | ||
1098 | (defun mm/org-agenda-revert-redo-save-all () | ||
1099 | "Revert then save all `org-mode' buffers, then `org-agenda-redo-all'." | ||
1100 | (interactive) | ||
1101 | (progn | ||
1102 | (org-revert-all-org-buffers) | ||
1103 | (org-save-all-org-buffers) | ||
1104 | (org-agenda-redo-all))) | ||
1105 | (define-key org-agenda-keymap (kbd "g") 'mm/org-agenda-revert-redo-save-all) | ||
1106 | |||
1107 | 1097 | ||
1108 | ;; Update agenda periodically every `mm/refresh-agenda-time-seconds' seconds. | 1098 | ;; Update agenda periodically every `mm/refresh-agenda-time-seconds' seconds. |
1109 | ;; This was taken from https://emacs.stackexchange.com/a/68767/38877 | 1099 | ;; This was taken from https://emacs.stackexchange.com/a/68767/38877 |