From d0e7674fdb1de12c8de202d4028a5d7ed3669a6e Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 7 Mar 2011 09:03:50 +0100 Subject: [PATCH] .el$ was too crtude, switched to ##-.*el$ --- emacs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs b/emacs index 0423fbe..80125be 100644 --- a/emacs +++ b/emacs @@ -1,7 +1,7 @@ ;; -*- mode: Emacs-Lisp; -*- (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 (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. ;; Your init file should contain only one such instance. ;; 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 was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.