aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-13 12:21:33 +0800
committerGuangxiong Lin <[email protected]>2022-03-13 12:21:33 +0800
commit9ffcf0ee68093244c01de67bbe44b02c8c88dfc6 (patch)
tree0882b51638feddee31bc900d84f1e57dfb4de258
parent49a12b3a00a06031d3965a6120d344674f36e440 (diff)
downloaddotfiles-9ffcf0ee68093244c01de67bbe44b02c8c88dfc6.tar.gz
dotfiles-9ffcf0ee68093244c01de67bbe44b02c8c88dfc6.tar.bz2
dotfiles-9ffcf0ee68093244c01de67bbe44b02c8c88dfc6.zip
Save files when refile (emacs)
-rw-r--r--.emacs.d/lisp/init-org.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el
index 8d43dbd..2cb2407 100644
--- a/.emacs.d/lisp/init-org.el
+++ b/.emacs.d/lisp/init-org.el
@@ -22,6 +22,7 @@
"A block showing stuck projects.")
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
+(add-hook 'org-after-refile-insert-hook 'org-save-all-org-buffers)
;; keybinds
(with-eval-after-load 'evil