summary refs log tree commit diff
path: root/emacs.d/core/core-modes.el
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-02-12 20:58:37 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-02-12 20:58:37 -0800
commit5f2b301a8df5410962519d2b7e9a977b03e75977 (patch)
treeda73920a1109c0820cdf3a3e2902087c95f3b3a7 /emacs.d/core/core-modes.el
parent[emacs] Move some packages to a new config file. (diff)
downloademacs.d-5f2b301a8df5410962519d2b7e9a977b03e75977.tar.gz
[emacs] Split the config into 'core' and 'modes'.
Separate the modules that are 'core' (e.g.: related to editing,
manipulating text, and so on) and the 'modes' (e.g.: related to syntax,
langage support, etc).
Diffstat (limited to '')
-rw-r--r--emacs.d/core/core-modes.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs.d/core/core-modes.el b/emacs.d/core/core-modes.el
new file mode 100644
index 0000000..b994b1e
--- /dev/null
+++ b/emacs.d/core/core-modes.el
@@ -0,0 +1,7 @@
+(defun fcuny/load-layers ()
+  (mapc 'load
+        (directory-files (concat user-emacs-directory "modes") t "\\.el$")))
+
+(fcuny/load-layers)
+
+(provide 'core-modes)