38 lines
1.4 KiB
Text
38 lines
1.4 KiB
Text
;; -*- mode: Emacs-Lisp; -*-
|
|
|
|
(setq load-dir "~/.emacs.d/")
|
|
(setq myfiles (directory-files load-dir nil "^[0-9]\\{2\\}-\.*el$"))
|
|
|
|
(while myfiles
|
|
(let ((myfilename (concat load-dir (car myfiles))))
|
|
(if (not (file-exists-p (concat myfilename "c")))
|
|
(byte-compile-file myfilename))
|
|
(load (substring myfilename 0 (- (length myfilename) 3)))
|
|
(setq myfiles (cdr myfiles))))
|
|
|
|
(add-to-list 'compilation-finish-functions 'my-comp-finish-function)
|
|
|
|
(custom-set-variables
|
|
;; custom-set-variables was added by Custom.
|
|
;; 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")))
|
|
'(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.
|
|
;; Your init file should contain only one such instance.
|
|
;; If there is more than one, they won't work right.
|
|
)
|
|
|
|
|
|
;;; This was installed by package-install.el.
|
|
;;; This provides support for the package system and
|
|
;;; interfacing with ELPA, the package archive.
|
|
;;; Move this code earlier if you want to reference
|
|
;;; packages in your .emacs.
|
|
(when
|
|
(load
|
|
(expand-file-name "~/.emacs.d/elpa/package.el"))
|
|
(package-initialize))
|