diff --git a/emacs/init.el b/emacs/init.el index 512dc06..e005082 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -733,8 +733,6 @@ EMACS-ALTERNATIVE is the Emacs equivalent (e.g., 'C-s')." ("C-j" . nil) ("C-a" . mwim-beginning) ("C-e" . mwim-end) - :map org-agenda-mode-map - ("C-x C-s" . org-save-all-org-buffers) :map org-src-mode-map ("C-c C-c" . org-edit-src-exit)) :hook ((org-mode . visual-line-mode)) @@ -760,6 +758,9 @@ EMACS-ALTERNATIVE is the Emacs equivalent (e.g., 'C-s')." (add-hook 'org-after-todo-state-change-hook #'org-save-all-org-buffers)) +(use-package org-agenda + :bind (:map org-agenda-mode-map + ("C-x C-s" . org-save-all-org-buffers))) (use-package org-bullets :ensure t