summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoa2025-01-11 12:01:54 +0800
committernoa2025-01-11 12:01:54 +0800
commit89fc4ca7c8001baa090b46912317e3722b0fe723 (patch)
tree76107c552946ef2e0480ec410c0ad4661b263334
parentd29b0f6eacccc9564922153be27f71cb53442a05 (diff)
Remove autosave hooks that duplicate super-save functionality
-rw-r--r--emacs/init.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 54ef4ba..f3051d4 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -386,8 +386,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
version-control t
;; this will auto save to the current file
auto-save-visited-mode t)
-(add-hook 'focus-out-hook (lambda () (interactive) (save-some-buffers t)))
-(add-hook 'mouse-leave-buffer-hook (lambda () (interactive) (save-some-buffers t)))
(use-package super-save
:ensure t