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:
parent
5ffa4bb187
commit
57ef5bb249
2 changed files with 10 additions and 1 deletions
|
@ -553,7 +553,7 @@ This follows freedesktop standards, should work in X servers."
|
||||||
(defun prelude-find-user-init-file ()
|
(defun prelude-find-user-init-file ()
|
||||||
"Edit the `user-init-file', in another window."
|
"Edit the `user-init-file', in another window."
|
||||||
(interactive)
|
(interactive)
|
||||||
(find-file-other-window user-init-file))
|
(find-file-other-window prelude-user-init-file))
|
||||||
|
|
||||||
(defun prelude-find-shell-init-file ()
|
(defun prelude-find-shell-init-file ()
|
||||||
"Edit the shell init file in another window."
|
"Edit the shell init file in another window."
|
||||||
|
|
|
@ -64,6 +64,15 @@ Will only occur if prelude-whitespace is also enabled."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'prelude)
|
: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)
|
(provide 'prelude-custom)
|
||||||
|
|
||||||
;;; prelude-custom.el ends here
|
;;; prelude-custom.el ends here
|
||||||
|
|
Loading…
Reference in a new issue