summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-01-12 12:44:44 -0500
committerKyle Meyer <meyerkya@gmail.com>2013-01-12 13:56:01 -0500
commit96ee4bd0bd7b5cc8a6d9ca918ede26e82a9b20a7 (patch)
tree9065fbcdd65c7c80dbc15859d9ea6dd8507b256d
parentf5b226cae165532ed34ffefd7d003d10d984f004 (diff)
downloademacs.d-96ee4bd0bd7b5cc8a6d9ca918ede26e82a9b20a7.tar.gz
glob init files files for loading
-rw-r--r--init.el35
-rw-r--r--init/00-km-ui.el (renamed from conf/km-ui.el)0
-rw-r--r--init/10-km-pkg.el (renamed from conf/km-pkg.el)0
-rw-r--r--init/km-editor.el (renamed from conf/km-editor.el)0
-rw-r--r--init/km-evil.el (renamed from conf/km-evil.el)0
-rw-r--r--init/km-func.el (renamed from conf/km-func.el)0
-rw-r--r--init/km-general.el (renamed from conf/km-general.el)0
-rw-r--r--init/km-haskell.el (renamed from conf/km-haskell.el)0
-rw-r--r--init/km-ibuffer.el (renamed from conf/km-ibuffer.el)0
-rw-r--r--init/km-ido.el (renamed from conf/km-ido.el)0
-rw-r--r--init/km-mail.el (renamed from conf/km-mail.el)0
-rw-r--r--init/km-org.el (renamed from conf/km-org.el)0
-rw-r--r--init/km-python.el (renamed from conf/km-python.el)0
-rw-r--r--init/km-tex.el (renamed from conf/km-tex.el)0
14 files changed, 5 insertions, 30 deletions
diff --git a/init.el b/init.el
index 22825d5..71d9c39 100644
--- a/init.el
+++ b/init.el
@@ -1,36 +1,11 @@
;; init.el
-(message ":: Emacs init")
+(message ":: emacs init")
(server-start)
-(add-to-list 'load-path "~/.emacs.d/conf")
-(defvar km/config-files '(
- "km-pkg.el"
- "km-ui.el"
- "km-general.el"
- "km-editor.el"
- "km-func.el"
- "km-org.el"
- "km-evil.el"
- "km-ibuffer.el"
- "km-ido.el"
- "km-mail.el"
- "km-python.el"
- "km-haskell.el"
- "km-tex.el"
- )
- "configuration files")
+(mapcar
+ (lambda (f) (load-file f))
+ (file-expand-wildcards "~/.emacs.d/init/*.el"))
-(defun km/load-config-files ()
- (dolist (cfile km/config-files)
- (load cfile)))
-
-(defun km/load-config-files2 ()
- (dolist (cfile km/config-files)
- (message "loading %s" cfile)
- (load cfile)))
-
-(km/load-config-files)
-
-(message ":: Init complete")
+(message ":: init complete")
diff --git a/conf/km-ui.el b/init/00-km-ui.el
index 19c7aac..19c7aac 100644
--- a/conf/km-ui.el
+++ b/init/00-km-ui.el
diff --git a/conf/km-pkg.el b/init/10-km-pkg.el
index 91c0462..91c0462 100644
--- a/conf/km-pkg.el
+++ b/init/10-km-pkg.el
diff --git a/conf/km-editor.el b/init/km-editor.el
index 0fe2a31..0fe2a31 100644
--- a/conf/km-editor.el
+++ b/init/km-editor.el
diff --git a/conf/km-evil.el b/init/km-evil.el
index 677b55a..677b55a 100644
--- a/conf/km-evil.el
+++ b/init/km-evil.el
diff --git a/conf/km-func.el b/init/km-func.el
index 3366363..3366363 100644
--- a/conf/km-func.el
+++ b/init/km-func.el
diff --git a/conf/km-general.el b/init/km-general.el
index 5d661e9..5d661e9 100644
--- a/conf/km-general.el
+++ b/init/km-general.el
diff --git a/conf/km-haskell.el b/init/km-haskell.el
index 58bc2c8..58bc2c8 100644
--- a/conf/km-haskell.el
+++ b/init/km-haskell.el
diff --git a/conf/km-ibuffer.el b/init/km-ibuffer.el
index 3fa6a03..3fa6a03 100644
--- a/conf/km-ibuffer.el
+++ b/init/km-ibuffer.el
diff --git a/conf/km-ido.el b/init/km-ido.el
index d06163c..d06163c 100644
--- a/conf/km-ido.el
+++ b/init/km-ido.el
diff --git a/conf/km-mail.el b/init/km-mail.el
index 7a48417..7a48417 100644
--- a/conf/km-mail.el
+++ b/init/km-mail.el
diff --git a/conf/km-org.el b/init/km-org.el
index 1d7a80a..1d7a80a 100644
--- a/conf/km-org.el
+++ b/init/km-org.el
diff --git a/conf/km-python.el b/init/km-python.el
index ce7aa53..ce7aa53 100644
--- a/conf/km-python.el
+++ b/init/km-python.el
diff --git a/conf/km-tex.el b/init/km-tex.el
index 1c69dbd..1c69dbd 100644
--- a/conf/km-tex.el
+++ b/init/km-tex.el