Mercurial > dotfiles
annotate .emacs @ 209:c28a1e2c746a
hgignore: ignore Applications as well
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sun, 16 May 2010 20:32:00 -0500 |
parents | b80bed8c7c39 |
children | 2a4efba0fe8b |
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 | |
155
8b0932adcaf1
emacs: mark the location of one of my sources
Augie Fackler <durin42@gmail.com>
parents:
127
diff
changeset
|
4 ; Dave Anderson: https://ssl.natulte.net/hg/dotfiles/ |
98
8aa70b521063
Jump-to-function trick with IDO.
Augie Fackler <durin42@gmail.com>
parents:
77
diff
changeset
|
5 ; Emacs Starter Kit: http://github.com/technomancy/emacs-starter-kit |
0 | 6 |
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
|
7 (add-to-list 'load-path (expand-file-name "~/.elisp")) |
76 | 8 |
0 | 9 ; Start the server so that emacsclient will work |
10 ; TODO: is there a way to *not* start a server if one was already running? | |
11 (server-start) | |
12 | |
77 | 13 (let ((settings-files (concat (getenv "HOME") "/.elisp/settings"))) |
14 (mapc '(lambda (p) (load (concat settings-files "/" p))) | |
201
b80bed8c7c39
emacs: stop loading temp. files when walking settings
Augie Fackler <durin42@gmail.com>
parents:
155
diff
changeset
|
15 (directory-files settings-files nil "^[0-9].*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
|
16 |
77 | 17 (if (file-regular-p (expand-file-name (concat (getenv "HOME") |
18 "/.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
|
19 (load (expand-file-name "~/.emacs-machine.el"))) |