diff options
author | Franck Cuny <franck@fcuny.net> | 2021-10-11 07:17:53 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-10-11 07:17:53 -0700 |
commit | 84d5ccf8ffc90cb12dbf15e7f59346e377fca55d (patch) | |
tree | b90cbe16c64748121552e4b718c621e0662e7c59 /emacs | |
parent | org: mostly rewrite configuration for the agenda (diff) | |
download | emacs.d-84d5ccf8ffc90cb12dbf15e7f59346e377fca55d.tar.gz |
org: save org buffers after refill
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/custom/fcuny-org.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/custom/fcuny-org.el b/emacs/custom/fcuny-org.el index 5486fc2..7319b72 100644 --- a/emacs/custom/fcuny-org.el +++ b/emacs/custom/fcuny-org.el @@ -18,6 +18,12 @@ (org-capture-prepare-finalize . org-save-all-org-buffers)) :bind (("C-c c" . org-capture)) + :init + ;; save all the org buffers after refilling tasks + (advice-add 'org-refile :after + (lambda (&rest _) + (org-save-all-org-buffers))) + :config (defvar load-language-list '((emacs-lisp . t) (python . t) |