From 257515a2d7d3cf6ceb8b5f8ae4443a605d69c781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20=C4=90=E1=BB=A9c=20Hi=E1=BA=BFu?= Date: Sun, 16 Oct 2011 15:52:56 +0700 Subject: [PATCH] don't load custom.el twice --- init.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 9344b3a..ef91691 100644 --- a/init.el +++ b/init.el @@ -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