Mercurial > dotfiles
diff .emacs @ 74:fd369b708cbe
Better way of altering load-path, add support for local-to-machine emacs configs.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Thu, 09 Apr 2009 13:27:19 -0500 |
parents | 5c25d3dc29ab |
children | 2b2a667092fd |
line wrap: on
line diff
--- a/.emacs +++ b/.emacs @@ -3,7 +3,7 @@ ; Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk ; Dave Anderson: -(setq load-path (cons (expand-file-name "~/.elisp") load-path)) +(add-to-list 'load-path (expand-file-name "~/.elisp")) ; Better buffer switching and file loading (load first in case we need the ; * Messages * buffer) (require 'ido) @@ -134,3 +134,7 @@ point." (global-set-key [(meta z)] 'textmate-find-in-project-type) (global-set-key [(meta m)] 'iconify-or-deiconify-frame) (global-set-key [(control backspace)] 'kill-word) + + +(if (file-regular-p (expand-file-name (concat (getenv "HOME") "/.emacs-machine.el"))) + (load (expand-file-name "~/.emacs-machine.el")))