diff options
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 2b7e9ce7..f21325a3 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -599,18 +599,6 @@ _p_rev _u_pper _=_: upper/lower _r_esolve auto-revert-use-notify t) (global-auto-revert-mode t))) -;;;; Backups - -;; I like to keep my backups out of regular folders. I tell emacs to use -;; a subfolder of its configuration directory for that. Also, use the -;; trash for deleting on OS X. -(let ((backup-dir (expand-file-name "emacs" (or (getenv "XDG_DATA_HOME") - "~/.local/share")))) - (unless (file-directory-p backup-dir) - (make-directory backup-dir)) - (setq backup-directory-alist `((".*" . ,backup-dir)) - backup-by-copying-when-linked t - backup-by-copying-when-mismatch t)) (setq delete-by-moving-to-trash t) |