Make sure the private data directory exists

This commit is contained in:
Daniel Borchmann 2019-12-18 21:04:47 +01:00
parent ec847d606c
commit fabc890417
Signed by: exot
GPG Key ID: 1C7071A75BB72D64

View File

@ -314,6 +314,11 @@
;; * General configuration
;; Ensure that ~/.emacs.d/private exists, because we want to store data there
(let ((private-data-dir (expand-file-name "private/" emacs-d)))
(unless (file-directory-p private-data-dir)
(make-directory private-data-dir)))
(setq custom-file
(expand-file-name "private/custom.el" emacs-d))