Mercurial > dotfiles
comparison .emacs @ 214:2a4efba0fe8b
emacs: move package bootstrap to its own file
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sat, 13 Feb 2010 20:00:15 -0600 |
parents | b80bed8c7c39 |
children | 7edfa8d22584 |
comparison
equal
deleted
inserted
replaced
213:1947b2c08f29 | 214:2a4efba0fe8b |
---|---|
2 ; Places I've stolen from: | 2 ; Places I've stolen from: |
3 ; Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk | 3 ; Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk |
4 ; Dave Anderson: https://ssl.natulte.net/hg/dotfiles/ | 4 ; Dave Anderson: https://ssl.natulte.net/hg/dotfiles/ |
5 ; Emacs Starter Kit: http://github.com/technomancy/emacs-starter-kit | 5 ; Emacs Starter Kit: http://github.com/technomancy/emacs-starter-kit |
6 | 6 |
7 (add-to-list 'load-path (expand-file-name "~/.elisp")) | |
8 | |
9 ; Start the server so that emacsclient will work | 7 ; 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) | 8 (server-start) |
12 | 9 |
13 (let ((settings-files (concat (getenv "HOME") "/.elisp/settings"))) | 10 (let ((settings-files (concat (getenv "HOME") "/.elisp/settings"))) |
14 (mapc '(lambda (p) (load (concat settings-files "/" p))) | 11 (mapc '(lambda (p) (load (concat settings-files "/" p))) |
15 (directory-files settings-files nil "^[0-9].*el$"))) | 12 (directory-files settings-files nil "^[0-9].*el$"))) |