aboutsummaryrefslogtreecommitdiffstats
path: root/_emacs.d
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-02-25 11:36:40 +0800
committerAaron LI <aaronly.me@gmail.com>2016-02-25 11:36:40 +0800
commitdab70ed1f5ebe7dc3f2aa2328aa22865f02b7723 (patch)
tree7cb6385b495afc3e18652250d75f12eef39ae207 /_emacs.d
parent941be1ad9d8a8ad54df0aa1343c2fc057bb58594 (diff)
downloaddotfiles-dab70ed1f5ebe7dc3f2aa2328aa22865f02b7723.tar.bz2
_emacs.d/personal/10-config.el: replace "prelude-" with "my-"
Diffstat (limited to '_emacs.d')
-rw-r--r--_emacs.d/personal/10-config.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/_emacs.d/personal/10-config.el b/_emacs.d/personal/10-config.el
index 419bf2b..6a4082e 100644
--- a/_emacs.d/personal/10-config.el
+++ b/_emacs.d/personal/10-config.el
@@ -33,18 +33,18 @@
;; Backup and auto save settings
;; Credit: https://www.emacswiki.org/emacs/AutoSave
-(defvar prelude-backup-dir (expand-file-name "backup/" prelude-dir))
-(defvar prelude-autosave-dir (expand-file-name "autosave/" prelude-dir))
+(defvar my-backup-dir (expand-file-name "backup/" prelude-dir))
+(defvar my-autosave-dir (expand-file-name "autosave/" prelude-dir))
;; Place the backup files in the specified directory under `prelude-dir'
(setq backup-by-copying t ;; do not clobber symlinks
- backup-directory-alist `((".*" . ,prelude-backup-dir))
+ backup-directory-alist `((".*" . ,my-backup-dir))
version-control t ;; use versioned backups
delete-old-versions t
kept-new-versions 6
kept-old-versions 2)
;; Place both auto-saved files and auto-save-list file in the same directory
-(setq auto-save-file-name-transforms `((".*" ,prelude-autosave-dir t))
- auto-save-list-file-prefix prelude-autosave-dir)
+(setq auto-save-list-file-prefix my-autosave-dir
+ auto-save-file-name-transforms `((".*" ,my-autosave-dir t)))
(setq-default tab-width 4)
(setq-default fill-column 78)