User Specific save files

Prelude is generally stored in ~/.emacs.d of the user who wants to
use it. But for a system wide install of prelude it does not make
sense for every user on the system to install it and link to it.
It is better in that case to install it in a global position like
/opt/prelude and put the following line in site-start.el file

     (load "/opt/prelude/init.el")

Due to this change the local history and cache files of the
individual users get stored in their home directories instead
of trying to save it in prelude-dir
This commit is contained in:
Koustubh Sinkar 2016-05-19 16:17:50 +05:30 committed by Bozhidar Batsov
parent 5850c33440
commit bdf7181637

View file

@ -68,7 +68,7 @@ by Prelude.")
"This directory is for your personal configuration, that you want loaded before Prelude.")
(defvar prelude-vendor-dir (expand-file-name "vendor" prelude-dir)
"This directory houses packages that are not yet available in ELPA (or MELPA).")
(defvar prelude-savefile-dir (expand-file-name "savefile" prelude-dir)
(defvar prelude-savefile-dir (expand-file-name "savefile" user-emacs-directory)
"This folder stores all the automatically generated save/history-files.")
(defvar prelude-modules-file (expand-file-name "prelude-modules.el" prelude-personal-dir)
"This file contains a list of modules that will be loaded by Prelude.")