# HG changeset patch # User Oleksander Gavenko # Date 1208465994 -10800 # Node ID 1c6aae52de4be420fbdc0677eb9c12c0e06c0bf9 # Parent 96e0cbcd92abc2198fcc99c70e496857eb137440 Change path to addon el. diff -r 96e0cbcd92ab -r 1c6aae52de4b .emacs --- a/.emacs Thu Apr 17 23:59:53 2008 +0300 +++ b/.emacs Thu Apr 17 23:59:54 2008 +0300 @@ -26,7 +26,8 @@ ;; ====================================================================== ;; Load path. -(add-to-list 'load-path (expand-file-name "~/emacs/site-lisp")) +(setq my-el-path (expand-file-name "~/.el")) +(add-to-list 'load-path my-el-path) ;; ====================================================================== ;; GNU Serv. @@ -610,7 +611,9 @@ ;; (setq-default vc-svn-register-switches "--encoding cp1251") (setq-default vc-svn-register-switches nil) -(require 'mercurial) +(if (file-exists-p (concat my-el-path "/mercurial.el")) + (require 'mercurial) + ) ;; ====================================================================== ;; Devel, prog