don't load custom.el twice

This commit is contained in:
Hoàng Đức Hiếu 2011-10-16 15:52:56 +07:00
parent 76b70ca0ba
commit 257515a2d7

View file

@ -81,11 +81,10 @@ by Prelude.")
(require 'prelude-scheme)
(require 'prelude-xml)
;; load the personal settings
(when (file-exists-p prelude-personal-dir)
(mapc 'load (directory-files prelude-personal-dir nil "^[^#].*el$")))
;; config changes made through the customize UI will be store here
(setq custom-file (concat prelude-personal-dir "custom.el"))
(load custom-file 'noerror)
;; load the personal settings
(when (file-exists-p prelude-personal-dir)
(mapc 'load (directory-files prelude-personal-dir nil "^[^#].*el$"))
;;; init.el ends here