about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el18
1 files changed, 12 insertions, 6 deletions
diff --git a/init.el b/init.el index 0428bbb..65ce3e3 100644 --- a/init.el +++ b/init.el
@@ -20,9 +20,20 @@
20 (add-to-list 'recentf-exclude no-littering-var-directory) 20 (add-to-list 'recentf-exclude no-littering-var-directory)
21 (add-to-list 'recentf-exclude no-littering-etc-directory) 21 (add-to-list 'recentf-exclude no-littering-etc-directory)
22 22
23 (setq delete-old-versions t)
24 (setq kept-new-versions 6)
25 (setq kept-old-versions 2)
26 (version-control t)
27 (setq backup-directory-alist
28 `((".*" . ,(no-littering-expand-var-file-name "backup/"))))
29
23 (setq auto-save-file-name-transforms 30 (setq auto-save-file-name-transforms
24 `((".*" ,(no-littering-expand-var-file-name "auto-save/") t))) 31 `((".*" ,(no-littering-expand-var-file-name "auto-save/") t)))
25 (setq custom-file (no-littering-expand-etc-file-name "custom.el"))) 32 (auto-save-mode)
33
34 (setq custom-file (no-littering-expand-etc-file-name "custom.el"))
35
36 (setq create-lockfiles nil))
26 37
27(use-package auth-source 38(use-package auth-source
28 :init 39 :init
@@ -36,11 +47,6 @@
36 (when acdw/at-larry 47 (when acdw/at-larry
37 (setq visible-bell nil)) 48 (setq visible-bell nil))
38 49
39 (setq version-control t)
40 (setq delete-old-versions t)
41 (setq kept-new-versions 6)
42 (setq kept-old-versions 4)
43 (setq create-lockfiles nil)
44 (auto-save-mode) 50 (auto-save-mode)
45 51
46 (defun full-auto-save () 52 (defun full-auto-save ()