chore(emacs): disable lock files

This commit is contained in:
Ade Attwood 2021-11-21 14:37:08 +00:00
parent cb1ecc7478
commit ddb7febaa9

View file

@ -11,7 +11,10 @@
(use-package no-littering)
(setq auto-save-file-name-transforms
`((".*" ,(no-littering-expand-var-file-name "auto-save/") t)))
(setq inhibit-startup-message t)
;; Disable .# lock files. Then sends all directory watch tasks crazy. It also
;; make compiling applications fail when you have unsaved files
(setq create-lockfiles nil)
;; Don't wrap lines
(set-default 'truncate-lines t)