all repos — nixfiles @ 28e4f4858d04df6f7d5f61ae913c7aa0ff9986ad

System and user configuration, managed by nix and home-manager

Emacs: don't auto-save files
Alan Pearce alan@alanpearce.eu
Sun, 30 Jul 2023 05:30:46 +0200
commit

28e4f4858d04df6f7d5f61ae913c7aa0ff9986ad

parent

4f4556a5394277236d0d4eca339e9b82f79c4828

1 files changed, 1 insertions(+), 4 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -584,10 +584,7 @@ ;;; Files 
 ;;;; Auto-saving
 
-;; Auto-save everything to a temporary directory, instead of cluttering
-;; the filesystem.  I don’t want emacs-specific lockfiles, either.
-
-(setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t))
+(setq auto-save-default nil
       create-lockfiles nil)
 
 ;;;; Auto-reloading