mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-14 21:30:46 -08:00
Any module can now use a doom! call to declare a module tree root. This means that if you have a doom! block in ~/.emacs.d/modules/lang/org/init.el, then you can have submodules in ~/.emacs.d/modules/lang/org/modules/MODULE/SUBMODULE if you wanted to for some reason. This is only really truly useful for private modules. A doom! block in ~/.doom.d/init.el will recognize and enable modules in ~/.doom.d/modules/. |
||
|---|---|---|
| .. | ||
| autoload.el | ||
| config.el | ||
| init.el | ||
| README.org | ||
:config private
This module enables support for an external private module and nested
submodules, either at ~/.doom.d (or $XDG_CONFIG_HOME/doom with the +xdg
flag).
Table of Contents TOC
Module Flags
+xdgTells this module to respect XDG conventions and look for your private config in$XDG_CONFIG_HOME/doom(falls back to~/.config/doom).
Features
Private sub-modules
Modules placed in the modules/ subdirectory of your external config are
symlinked to ~/.emacs.d/modules/private, and can be activated from doom!:
(doom! :private private-module1 private-module2 ...)