blob: 3e10d19ff134c32ed76626f36a5328e94116b3a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
;;; macro to conveniently load files
;;;###autoload
(defvar load-file-directory (cond ((stringp load-file-name)
(file-name-directory load-file-name))
(t default-directory))
"The directory to load files")
(defun load-config (file-name)
"Conviently load configuration files in the same directory as this file."
(load-file (expand-file-name file-name load-file-directory)))
(load-config "basic.el")
(load-config "theme.el")
;; (load-config "modeline.el")
|