Mercurial > dotfiles
view .emacs @ 279:0b718e51de16
hgignore: ignore machine-specific .elisp/settings/ files
Just considers anything with local in the name to be machine specific,
which is true for how I use have things configured.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 27 Apr 2012 16:53:15 -0500 |
parents | 2a4efba0fe8b |
children | 7edfa8d22584 |
line wrap: on
line source
;; Augie Fackler's .emacs file ; Places I've stolen from: ; Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk ; Dave Anderson: https://ssl.natulte.net/hg/dotfiles/ ; Emacs Starter Kit: http://github.com/technomancy/emacs-starter-kit ; Start the server so that emacsclient will work (server-start) (let ((settings-files (concat (getenv "HOME") "/.elisp/settings"))) (mapc '(lambda (p) (load (concat settings-files "/" p))) (directory-files settings-files nil "^[0-9].*el$"))) (if (file-regular-p (expand-file-name (concat (getenv "HOME") "/.emacs-machine.el"))) (load (expand-file-name "~/.emacs-machine.el")))