doomemacs/modules
2017-03-02 01:44:31 -05:00
..
completion completion/ivy: add other-window behavior to +ivy/switch-buffer 2017-02-24 20:03:08 -05:00
feature feature/file-templates: +file-templates--expand shouldn't be interactive 2017-03-02 01:44:31 -05:00
lang lang/emacs-lisp: add add-hook! & remove-hook! to :rotate symbols 2017-03-01 21:42:21 -05:00
private/hlissner private/hlissner: add <leader> switch-to-workspace keys 2017-03-01 21:41:54 -05:00
tools Fix leftover references to doom|eshell.... 2017-03-02 07:36:16 +10:30
ui Add & use add-transient-hook! macro 2017-03-02 01:43:59 -05:00
README.md

Modules

Modules are made up of three (optional) parts:

  • A config.el file, automatically loaded when the module is loaded (through @doom or @require). It uses @def-package calls (thin wrappers around use-package) to configure packages.
  • A packages.el file filled with package! and depends-on! declarations. These are purely declarative macros. They populate doom-packages and doom-modules for the package management system.
  • Either an autoload.el file or autoload/*.el files, which are scanned by doom/reload-autoloads and lazily loaded.

The convention for extra config files is to prefix them with a plus (+git.el). These are not automatically loaded.

What modules aren't

Modules loosely take after Spacemacs' notion of layers, but are not meant to be interchangeable. Their purpose is almost purely organizational.

The only exception to this are completion modules. Other modules make no assumptions about which completion modules are enabled. If company isn't installed, company plugins will silently refuse to install, and their respective @def-package blocks will be ignored.