diff options
author | Guangxiong Lin <[email protected]> | 2022-03-13 17:52:50 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-03-13 17:52:50 +0800 |
commit | f0c5d171acdc679a981adaa1816865fc94ef76a5 (patch) | |
tree | 134b1ca7d500197b6f582684bb59d4e941bbac4a /.emacs.d/lisp | |
parent | 88e3fdfdcf6a8a11ee592f2aa191bd44dc7cad1d (diff) | |
download | dotfiles-f0c5d171acdc679a981adaa1816865fc94ef76a5.tar.gz dotfiles-f0c5d171acdc679a981adaa1816865fc94ef76a5.tar.bz2 dotfiles-f0c5d171acdc679a981adaa1816865fc94ef76a5.zip |
Save all org buffers after capture (emacs)
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-org.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el index 1f8e017..77f86f8 100644 --- a/.emacs.d/lisp/init-org.el +++ b/.emacs.d/lisp/init-org.el @@ -32,6 +32,7 @@ (advice-add 'org-refile :around 'gx/org-refile) (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) +(add-hook 'org-capture-after-finalize-hook 'org-save-all-org-buffers) ;; keybinds (with-eval-after-load 'evil |