doomemacs/modules/config/private
Henrik Lissner 23fda88b2f
Detach doom-modules-dirs from doom! macro
Formerly, you were required to have a doom! call (even a blank one) in
~/.doom.d/init.el if you wanted to have private sub-modules in
~/.doom.d/modules/.

No more. It is no longer doom!'s responsibility to affect
`doom-modules-dirs`. This is now done by :config private, while the
Doom modules directory is now the initial entry in doom-modules-dirs.
2018-03-12 13:32:00 -04:00
..
autoload.el config/private: decouple from config/default 2018-03-01 04:08:29 -05:00
config.el config/private: ensure config.el loads as late as possible #453 2018-03-05 23:01:17 -05:00
init.el Detach doom-modules-dirs from doom! macro 2018-03-12 13:32:00 -04:00
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

  • +xdg Tells 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 ...)