.emacs
changeset 386 3efe37437745
parent 351 e30e4bd7e85e
child 604 9084d12d924d
equal deleted inserted replaced
385:f0e9718ec640 386:3efe37437745
    17   "Here live my lisp packages.")
    17   "Here live my lisp packages.")
    18 (add-to-list 'load-path my-lisp-dir t)
    18 (add-to-list 'load-path my-lisp-dir t)
    19 
    19 
    20 (defvar my-autoload (concat my-lisp-dir "/autoload-my.el")
    20 (defvar my-autoload (concat my-lisp-dir "/autoload-my.el")
    21   "Path to autoload for mode files.")
    21   "Path to autoload for mode files.")
       
    22 (defvar dot-emacs-autogen (expand-file-name "~/.emacs-autogen")
       
    23   "Path to automatically generated config file. It content depend on
       
    24   installation environment and it was overridden on install.")
    22 (defvar dot-emacs-pre (expand-file-name "~/.emacs-pre")
    25 (defvar dot-emacs-pre (expand-file-name "~/.emacs-pre")
    23   "Path to file with pre-loaded custom settings.")
    26   "Path to file with pre-loaded custom settings.")
    24 (defvar dot-emacs-post (expand-file-name "~/.emacs-post")
    27 (defvar dot-emacs-post (expand-file-name "~/.emacs-post")
    25   "Path to file with post-loaded custom settings.")
    28   "Path to file with post-loaded custom settings.")
       
    29 
       
    30 
       
    31 (if (file-exists-p dot-emacs-autogen)
       
    32     (load dot-emacs-autogen))
    26 
    33 
    27 ;; pre-load custom settings
    34 ;; pre-load custom settings
    28 (if (file-exists-p dot-emacs-pre)
    35 (if (file-exists-p dot-emacs-pre)
    29     (load dot-emacs-pre))
    36     (load dot-emacs-pre))
    30 
    37