Browse Source

Change some backup configs

master
10sr 6 years ago
parent
commit
4fe335c51a
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      emacs.el

+ 4
- 2
emacs.el View File

@@ -718,13 +718,15 @@ found, otherwise returns nil."

;; http://www.bookshelf.jp/soft/meadow_24.html#SEC260
(setq make-backup-files t)
(setq vc-make-backup-files t)
;; (make-directory (expand-file-name "~/.emacsbackup"))
(setq backup-directory-alist
(cons (cons "." (expand-file-name (concat user-emacs-directory
"backup")))
"backup")))
backup-directory-alist))
(setq version-control 'never)
(setq version-control 't)
(setq delete-old-versions t)
(setq kept-new-versions 20)

(setq auto-save-list-file-prefix (expand-file-name (concat user-emacs-directory
"auto-save/")))


Loading…
Cancel
Save