Better org save behavior

This commit is contained in:
2025-10-20 15:03:32 -07:00
parent 2973596913
commit 2b0ca519c6

View File

@@ -733,6 +733,8 @@ 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))
@@ -756,7 +758,7 @@ EMACS-ALTERNATIVE is the Emacs equivalent (e.g., 'C-s')."
(interactive)
(org-agenda nil "d"))
(add-hook 'org-after-todo-state-change-hook #'save-buffer))
(add-hook 'org-after-todo-state-change-hook #'org-save-all-org-buffers))
(use-package org-bullets