.emacs
changeset 41 38dda673f17f
parent 37 b210b509819b
child 42 04fd7747bc49
--- a/.emacs	Sun Jun 29 21:45:13 2008 -0400
+++ b/.emacs	Sun Jun 29 22:14:34 2008 -0400
@@ -3,9 +3,21 @@
 ;; Copyright (C) 2008 by Gavenko Oleksandr
 ;; Copyright (C) 2008 by Гавенко Алескандр
 
+(defvar dot-emacs-my-custom-pre (expand-file-name "~/.emacs-my-custom-pre")
+  "Path to file with pre-loaded custom settings.")
+(defvar dot-emacs-my-custom-post (expand-file-name "~/.emacs-my-custom-post")
+  "Path to file with post-loaded custom settings.")
+
+;; pre-load custom settings
+(if (file-exists-p dot-emacs-my-custom-pre)
+    (load dot-emacs-my-custom-pre))
+
+;; load main customization
 (load "~/.emacs-my")
-(if (file-exists-p "~/.emacs-my-custom")
-    (load "~/.emacs-my-custom"))
+
+;; post-load custom settings
+(if (file-exists-p dot-emacs-my-custom-post)
+    (load dot-emacs-my-custom-post))
 
 (custom-set-variables
   ;; custom-set-variables was added by Custom.