create the savefile dir automatically if needed
This commit is contained in:
parent
c3b1e45c9e
commit
93c06fad91
1 changed files with 3 additions and 0 deletions
3
init.el
3
init.el
|
@ -52,6 +52,9 @@ ELPA (or MELPA).")
|
|||
(defvar prelude-savefile-dir (concat prelude-dir "savefile/")
|
||||
"This folder stores all the automatically generated save/history-files.")
|
||||
|
||||
(unless (file-exists-p prelude-savefile-dir)
|
||||
(make-directory prelude-savefile-dir))
|
||||
|
||||
;; add Prelude's directories to Emacs's `load-path'
|
||||
(add-to-list 'load-path prelude-modules-dir)
|
||||
(add-to-list 'load-path prelude-vendor-dir)
|
||||
|
|
Loading…
Reference in a new issue