Browse Source

create the savefile dir automatically if needed

custom
Bozhidar Batsov 14 years ago
parent
commit
93c06fad91
  1. 3
      init.el

3
init.el

@ -52,6 +52,9 @@ ELPA (or MELPA).")
(defvar prelude-savefile-dir (concat prelude-dir "savefile/") (defvar prelude-savefile-dir (concat prelude-dir "savefile/")
"This folder stores all the automatically generated save/history-files.") "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 Prelude's directories to Emacs's `load-path'
(add-to-list 'load-path prelude-modules-dir) (add-to-list 'load-path prelude-modules-dir)
(add-to-list 'load-path prelude-vendor-dir) (add-to-list 'load-path prelude-vendor-dir)

Loading…
Cancel
Save