changeset 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 a563c21235ad
children 84eb8c90ada9
files .emacs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.emacs
+++ b/.emacs
@@ -12,7 +12,7 @@
 
 (let ((settings-files (concat (getenv "HOME") "/.elisp/settings")))
   (mapc '(lambda (p) (load (concat settings-files "/" p)))
-        (directory-files settings-files nil ".*el$")))
+        (directory-files settings-files nil "^[0-9].*el$")))
 
 (if (file-regular-p (expand-file-name (concat (getenv "HOME")
                                               "/.emacs-machine.el")))