Mercurial > dotfiles
annotate .emacs @ 355:7edfa8d22584
emacs: move customize droppings to a dedicated file
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 22 Dec 2014 14:59:29 -0500 |
parents | 2a4efba0fe8b |
children | 08af9e123baa |
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 |
7 ; Start the server so that emacsclient will work | |
8 (server-start) | |
9 | |
355
7edfa8d22584
emacs: move customize droppings to a dedicated file
Augie Fackler <raf@durin42.com>
parents:
214
diff
changeset
|
10 (setq custom-file "~/.elisp/settings/99.custom.el") |
7edfa8d22584
emacs: move customize droppings to a dedicated file
Augie Fackler <raf@durin42.com>
parents:
214
diff
changeset
|
11 |
77 | 12 (let ((settings-files (concat (getenv "HOME") "/.elisp/settings"))) |
13 (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
|
14 (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
|
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"))) |