From 9dfd55ada464fc119f450fe26852923eab2f6245 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Thu, 23 Oct 2025 10:59:08 -0700 Subject: [PATCH] Move org-agenda-mode-map to separate use-package statement --- emacs/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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