Mercurial > dotfiles
annotate .emacs @ 92:2563edf11e59
Latest nosemacs.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Wed, 22 Apr 2009 10:17:31 -0500 |
parents | 45d7441d0cf2 |
children | 8aa70b521063 |
rev | line source |
---|---|
0 | 1 ;; Augie Fackler's .emacs file |
2 ; Places I've stolen from: | |
3 ; Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk | |
4 ; Dave Anderson: | |
5 | |
74
fd369b708cbe
Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents:
65
diff
changeset
|
6 (add-to-list 'load-path (expand-file-name "~/.elisp")) |
76 | 7 |
0 | 8 ; Start the server so that emacsclient will work |
9 ; TODO: is there a way to *not* start a server if one was already running? | |
10 (server-start) | |
11 | |
77 | 12 (let ((settings-files (concat (getenv "HOME") "/.elisp/settings"))) |
13 (mapc '(lambda (p) (load (concat settings-files "/" p))) | |
14 (directory-files settings-files nil ".*el$"))) | |
74
fd369b708cbe
Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents:
65
diff
changeset
|
15 |
77 | 16 (if (file-regular-p (expand-file-name (concat (getenv "HOME") |
17 "/.emacs-machine.el"))) | |
74
fd369b708cbe
Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents:
65
diff
changeset
|
18 (load (expand-file-name "~/.emacs-machine.el"))) |