feat: improvements with lock and backup files
Backup files have been relocated to the system temporary files directory. To recover backups from there enter the associated file and run M-x recover-file or :recover-file. Lock files have been disabled - uses for them are few and far between Both these changes were done to maintain cleanliness of directories and git-friendliness
This commit is contained in:
parent
0cce619733
commit
e6b34380d6
|
@ -33,8 +33,13 @@
|
|||
;; Disable the creation of files ending with '~' (backup files)
|
||||
(setq make-backup-files nil)
|
||||
|
||||
;; Disable the creation of files with '#' (lock files)
|
||||
;; Move files with '#' to system tmp directory
|
||||
(setq auto-save-default nil)
|
||||
(setq create-lockfiles nil)
|
||||
(setq backup-directory-alist
|
||||
`((".*" . ,temporary-file-directory)))
|
||||
(setq auto-save-file-name-transforms
|
||||
`((".*" ,temporary-file-directory t)))
|
||||
|
||||
;;; Themes
|
||||
;; Customize doom-themes
|
||||
|
|
Reference in a new issue