瀏覽代碼

Change some backup configs

master
10sr 6 年之前
父節點
當前提交
4fe335c51a
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. +4
    -2
      emacs.el

+ 4
- 2
emacs.el 查看文件

@@ -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…
取消
儲存