SidharthArya / modular-config.el

Organize your emacs config into small manageable modules
GNU General Public License v2.0
27 stars 3 forks source link
emacs startup

+TITLE: modular-config.el

+AUTHOR: Sidharth Arya

[[http://melpa.org/#/modular-config][file:http://melpa.org/packages/modular-config-badge.svg]]

Organize your emacs config into modules.

All the different configurations can be accessed from the command line as

+begin_src sh

emacs --config none --modules "core appearance vi"

+end_src

If you have a portion of code in one of your module which depends on another module. You can can use a when block to make sure that portion of code is not evaluated if the module is not loaded.

+BEGIN_SRC emacs-lisp

(when (modular-config-modules-loaded-p 'module-name) ;; Dependent Code )

+END_SRC

Feel free to refer to my config at: https://github.com/SidharthArya/.emacs.d