.el$ was too crtude, switched to ##-.*el$

This commit is contained in:
Tom Willemsen 2011-03-07 09:03:50 +01:00
parent e6aec5361d
commit d0e7674fdb

5
emacs
View file

@ -1,7 +1,7 @@
;; -*- mode: Emacs-Lisp; -*- ;; -*- mode: Emacs-Lisp; -*-
(setq load-dir "~/.emacs.d/") (setq load-dir "~/.emacs.d/")
(setq myfiles (directory-files load-dir nil ".el$")) (setq myfiles (directory-files load-dir nil "^[0-9]\\{2\\}-\.*el$"))
(while myfiles (while myfiles
(let ((myfilename (concat load-dir (car myfiles)))) (let ((myfilename (concat load-dir (car myfiles))))
@ -17,7 +17,8 @@
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(org-agenda-files (quote ("~/Documents/main.org" "~/Documents/aethon/aethon.org")))) '(org-agenda-files (quote ("~/Documents/main.org" "~/Documents/aethon/aethon.org")))
'(safe-local-variable-values (quote ((ispell-local-dictionary . nl)))))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.