don't load custom.el twice
This commit is contained in:
parent
25615df65e
commit
024cd52f00
1 changed files with 3 additions and 6 deletions
9
init.el
9
init.el
|
@ -60,12 +60,6 @@ by Prelude.")
|
||||||
(add-to-list 'load-path prelude-vendor-dir)
|
(add-to-list 'load-path prelude-vendor-dir)
|
||||||
(add-to-list 'load-path prelude-personal-dir)
|
(add-to-list 'load-path prelude-personal-dir)
|
||||||
|
|
||||||
;; config changes made through the customize UI will be store here
|
|
||||||
(setq custom-file (concat prelude-personal-dir "custom.el"))
|
|
||||||
|
|
||||||
(when (file-exists-p custom-file)
|
|
||||||
(load custom-file))
|
|
||||||
|
|
||||||
;; the core stuff
|
;; the core stuff
|
||||||
(require 'prelude-packages)
|
(require 'prelude-packages)
|
||||||
(require 'prelude-ui)
|
(require 'prelude-ui)
|
||||||
|
@ -97,6 +91,9 @@ by Prelude.")
|
||||||
(require 'prelude-ack)
|
(require 'prelude-ack)
|
||||||
(require 'prelude-erc)
|
(require 'prelude-erc)
|
||||||
|
|
||||||
|
;; config changes made through the customize UI will be store here
|
||||||
|
(setq custom-file (concat prelude-personal-dir "custom.el"))
|
||||||
|
|
||||||
;; load the personal settings (this includes `custom-file')
|
;; load the personal settings (this includes `custom-file')
|
||||||
(when (file-exists-p prelude-personal-dir)
|
(when (file-exists-p prelude-personal-dir)
|
||||||
(mapc 'load (directory-files prelude-personal-dir nil "^[^#].*el$")))
|
(mapc 'load (directory-files prelude-personal-dir nil "^[^#].*el$")))
|
||||||
|
|
Loading…
Reference in a new issue