Mercurial > dotfiles
view .emacs @ 155:8b0932adcaf1
emacs: mark the location of one of my sources
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 24 Nov 2009 15:19:24 -0600 |
parents | 932ae5899ff4 |
children | b80bed8c7c39 |
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 (add-to-list 'load-path (expand-file-name "~/.elisp")) ; Start the server so that emacsclient will work ; TODO: is there a way to *not* start a server if one was already running? (server-start) (let ((settings-files (concat (getenv "HOME") "/.elisp/settings"))) (mapc '(lambda (p) (load (concat settings-files "/" p))) (directory-files settings-files nil ".*el$"))) (if (file-regular-p (expand-file-name (concat (getenv "HOME") "/.emacs-machine.el"))) (load (expand-file-name "~/.emacs-machine.el")))