From 62a7211548778bd6a80269fdbb8bc5b0c61df7ab Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Fri, 15 Jul 2022 15:35:17 -0500 Subject: make autosave dir --- emacs/dotcustomel | 14 -------------- emacs/dotemacs | 5 ++++- 2 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 emacs/dotcustomel (limited to 'emacs') diff --git a/emacs/dotcustomel b/emacs/dotcustomel deleted file mode 100644 index 7d27931..0000000 --- a/emacs/dotcustomel +++ /dev/null @@ -1,14 +0,0 @@ -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(package-selected-packages - (quote - (yaml-mode markdown-mode magit go-mode dockerfile-mode)))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) diff --git a/emacs/dotemacs b/emacs/dotemacs index 7ea420b..9ddca53 100644 --- a/emacs/dotemacs +++ b/emacs/dotemacs @@ -209,12 +209,15 @@ ;; ------------------------------------------------------------- ;; file creation +;; requires $HOME/.auto-save to exist (setq auto-save-file-name-transforms - `((".*" ,(file-name-concat user-emacs-directory "auto-save/") t)) + `((".*" ,(file-name-concat user-emacs-directory ".auto-save/") t)) make-backup-files nil create-lockfiles nil custom-file null-device) +(make-directory (file-name-concat user-emacs-directory ".auto-save/") :parents) + ;; ------------------------------------------------------------- ;; fix weird tls issue with packages (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") -- cgit v1.2.3