comparison .emacs @ 201:b80bed8c7c39

emacs: stop loading temp. files when walking settings
author Augie Fackler <durin42@gmail.com>
date Tue, 13 Apr 2010 14:49:41 -0500
parents 8b0932adcaf1
children 2a4efba0fe8b
comparison
equal deleted inserted replaced
200:a563c21235ad 201:b80bed8c7c39
10 ; TODO: is there a way to *not* start a server if one was already running? 10 ; TODO: is there a way to *not* start a server if one was already running?
11 (server-start) 11 (server-start)
12 12
13 (let ((settings-files (concat (getenv "HOME") "/.elisp/settings"))) 13 (let ((settings-files (concat (getenv "HOME") "/.elisp/settings")))
14 (mapc '(lambda (p) (load (concat settings-files "/" p))) 14 (mapc '(lambda (p) (load (concat settings-files "/" p)))
15 (directory-files settings-files nil ".*el$"))) 15 (directory-files settings-files nil "^[0-9].*el$")))
16 16
17 (if (file-regular-p (expand-file-name (concat (getenv "HOME") 17 (if (file-regular-p (expand-file-name (concat (getenv "HOME")
18 "/.emacs-machine.el"))) 18 "/.emacs-machine.el")))
19 (load (expand-file-name "~/.emacs-machine.el"))) 19 (load (expand-file-name "~/.emacs-machine.el")))