Commit 7c4aa6985c39

Vincent Demeester <vincent@sbr.pm>
2020-05-04 20:07:55
config-org.el: change save-and-update-includes to a before-save hook
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent f29cdaf
Changed files (1)
tools
emacs
tools/emacs/config/config-org.el
@@ -117,7 +117,7 @@
     (set (make-local-variable 'company-backends)
          '(company-emoji company-capf company-files company-dabbrev))
     (company-mode 1)
-    (add-hook 'after-save-hook #'save-and-update-includes nil 'make-it-local)))
+    (add-hook 'before-save-hook #'save-and-update-includes nil 'make-it-local)))
 ;; -OrgHook
 
 ;; OrgId