.emacs
changeset 41 38dda673f17f
parent 37 b210b509819b
child 42 04fd7747bc49
equal deleted inserted replaced
40:9160789194f0 41:38dda673f17f
     1 ;; -*- mode: lisp; coding: cp1251 -*-
     1 ;; -*- mode: lisp; coding: cp1251 -*-
     2 
     2 
     3 ;; Copyright (C) 2008 by Gavenko Oleksandr
     3 ;; Copyright (C) 2008 by Gavenko Oleksandr
     4 ;; Copyright (C) 2008 by Гавенко Алескандр
     4 ;; Copyright (C) 2008 by Гавенко Алескандр
     5 
     5 
       
     6 (defvar dot-emacs-my-custom-pre (expand-file-name "~/.emacs-my-custom-pre")
       
     7   "Path to file with pre-loaded custom settings.")
       
     8 (defvar dot-emacs-my-custom-post (expand-file-name "~/.emacs-my-custom-post")
       
     9   "Path to file with post-loaded custom settings.")
       
    10 
       
    11 ;; pre-load custom settings
       
    12 (if (file-exists-p dot-emacs-my-custom-pre)
       
    13     (load dot-emacs-my-custom-pre))
       
    14 
       
    15 ;; load main customization
     6 (load "~/.emacs-my")
    16 (load "~/.emacs-my")
     7 (if (file-exists-p "~/.emacs-my-custom")
    17 
     8     (load "~/.emacs-my-custom"))
    18 ;; post-load custom settings
       
    19 (if (file-exists-p dot-emacs-my-custom-post)
       
    20     (load dot-emacs-my-custom-post))
     9 
    21 
    10 (custom-set-variables
    22 (custom-set-variables
    11   ;; custom-set-variables was added by Custom.
    23   ;; custom-set-variables was added by Custom.
    12   ;; If you edit it by hand, you could mess it up, so be careful.
    24   ;; If you edit it by hand, you could mess it up, so be careful.
    13   ;; Your init file should contain only one such instance.
    25   ;; Your init file should contain only one such instance.