From 5f2b301a8df5410962519d2b7e9a977b03e75977 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 12 Feb 2016 20:58:37 -0800 Subject: [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). --- emacs.d/core/core-modes.el | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 emacs.d/core/core-modes.el (limited to 'emacs.d/core/core-modes.el') 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) -- cgit 1.4.1