Browse Source

Merge pull request #12 from hdhoang/master

don't load custom.el twice
custom
Bozhidar Batsov 14 years ago
parent
commit
0cf8397b2e
  1. 7
      init.el

7
init.el

@ -81,11 +81,10 @@ by Prelude.")
(require 'prelude-scheme) (require 'prelude-scheme)
(require 'prelude-xml) (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 ;; config changes made through the customize UI will be store here
(setq custom-file (concat prelude-personal-dir "custom.el")) (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 ;;; init.el ends here
Loading…
Cancel
Save