Emacs use of cache folder variable for backups.

master
Pierre Neidhardt 2013-06-05 22:21:40 +02:00
parent 5a7e78fdac
commit 433dc5d7aa
1 changed files with 6 additions and 7 deletions

View File

@ -19,14 +19,13 @@
(setq auto-save-list-file-prefix nil)
;; Place Backup Files in Specific Directory
;; TODO: use cache variable.
(setq backup-directory-alist
(quote ((".*" . "~/.cache/emacs/backups/"))))
;; `(quote ((".*" . ,(concat emacs-cache-folder "backups/")))))
;; '((".*" . (concat emacs-cache-folder "backups/"))))
;; (setq backup-inhibited t) ;; Disable backup files.
;; (setq make-backup-files t) ;; Enable backup files.
;; (setq version-control t) ;; Enable numbered versioning.
`((".*" . ,(concat emacs-cache-folder "backups/"))))
;; Other options.
; (setq backup-inhibited t) ;; Disable backup files.
; (setq make-backup-files t) ;; Enable backup files.
; (setq version-control t) ;; Enable numbered versioning.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; We use a minor mode to override global keys.To assign