summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init3.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init3.el')
-rw-r--r--.emacs.d/init3.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/.emacs.d/init3.el b/.emacs.d/init3.el
new file mode 100644
index 0000000..1b5abdf
--- /dev/null
+++ b/.emacs.d/init3.el
@@ -0,0 +1,13 @@
+;; -*- mode: Emacs-Lisp; eval: (git-auto-commit-mode 1) -*-
+(require 'bytecomp)
+
+(defvar startup-files
+ (directory-files "~/.emacs.d/startup/" t "^[^.].*\\.el$")
+ "A list of the files that should be loaded during startup.")
+
+(while startup-files
+ (let ((filename (car startup-files))
+ (byte-compile-warnings nil))
+ (if (not (eq (byte-recompile-file filename nil 0) nil))
+ (load (substring filename 0 -3))))
+ (setq startup-files (cdr startup-files)))