# HG changeset patch # User Oleksandr Gavenko # Date 1214792074 14400 # Node ID 38dda673f17f8fc8b63fc1b1f914c0dbd0048d38 # Parent 9160789194f0c6d99dc1dda576415a9e94fc1924 Added to be load pre-/post-load files with custom settings. diff -r 9160789194f0 -r 38dda673f17f .emacs --- 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.