Load 'custom-file' before "~/.emacs-my" as some settings can effect on require
in .emacs-my.
--- a/.emacs Sun Mar 14 21:16:54 2010 +0200
+++ b/.emacs Sun Mar 14 21:24:04 2010 +0200
@@ -31,13 +31,13 @@
(if (file-exists-p my-autoload)
(load my-autoload))
+(setq custom-file "~/.emacs-custom.el")
+(if (file-exists-p custom-file)
+ (load custom-file))
+
;; load main customization
(load "~/.emacs-my")
;; post-load custom settings
(if (file-exists-p dot-emacs-post)
(load dot-emacs-post))
-
-(setq custom-file "~/.emacs-custom.el")
-(if (file-exists-p custom-file)
- (load custom-file))