summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-07-30 05:30:46 +0200
committerAlan Pearce2023-07-30 05:30:46 +0200
commit28e4f4858d04df6f7d5f61ae913c7aa0ff9986ad (patch)
treeda84270d77bb8d3e39863d207967895437aa52e6
parent4f4556a5394277236d0d4eca339e9b82f79c4828 (diff)
downloadnixfiles-28e4f4858d04df6f7d5f61ae913c7aa0ff9986ad.tar.lz
nixfiles-28e4f4858d04df6f7d5f61ae913c7aa0ff9986ad.tar.zst
nixfiles-28e4f4858d04df6f7d5f61ae913c7aa0ff9986ad.zip
Emacs: don't auto-save files
-rw-r--r--user/emacs/init.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index bc53e3a5..4da7f9ab 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -584,10 +584,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 
 ;;;; 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