From 7f49cb1ae7ecf544c88226a7f133144baf0d76cb Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 9 Oct 2018 13:30:16 +0900 Subject: [PATCH] Fix regexp --- emacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index bd324a4..36f21d9 100644 --- a/emacs.el +++ b/emacs.el @@ -720,7 +720,7 @@ found, otherwise returns nil." (setq make-backup-files t) ;; (make-directory (expand-file-name "~/.emacsbackup")) (setq backup-directory-alist - (cons (cons "\\.*$" (expand-file-name (concat user-emacs-directory + (cons (cons "." (expand-file-name (concat user-emacs-directory "backup"))) backup-directory-alist)) (setq version-control 'never)