From 89fc4ca7c8001baa090b46912317e3722b0fe723 Mon Sep 17 00:00:00 2001 From: noa Date: Sat, 11 Jan 2025 12:01:54 +0800 Subject: Remove autosave hooks that duplicate super-save functionality --- emacs/init.el | 2 -- 1 file changed, 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 -- cgit 1.4.1-2-gfad0