Add new prelude custom variable for user-init-file

This way the prelude-find-user-init-file can actually take you to a
useful file (instead of to init.el)
This commit is contained in:
Geoff Shannon 2014-05-11 17:01:38 -07:00
parent 5ffa4bb187
commit 57ef5bb249
2 changed files with 10 additions and 1 deletions

View file

@ -553,7 +553,7 @@ This follows freedesktop standards, should work in X servers."
(defun prelude-find-user-init-file ()
"Edit the `user-init-file', in another window."
(interactive)
(find-file-other-window user-init-file))
(find-file-other-window prelude-user-init-file))
(defun prelude-find-shell-init-file ()
"Edit the shell init file in another window."

View file

@ -64,6 +64,15 @@ Will only occur if prelude-whitespace is also enabled."
:type 'boolean
:group 'prelude)
(defcustom prelude-user-init-file (concat user-emacs-directory
"personal/")
"Path to your personal customization file.
Since Prelude recommends you only put personal customizations in
the personal folder."
:type 'string
:group 'prelude)
(provide 'prelude-custom)
;;; prelude-custom.el ends here