mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-07 01:32:54 -08:00
Autoload paths used to be relative to arbitrary roots (usually doom-modules-dir). This commit changes doom//reload-autoloads to iterate over autoloads in doom-autoloads-file and replace their file paths with an absolute one. Theoretically this should make Emacs feel marginally faster, but we *probably* get more of a benefit from a shorter load-path (because we no longer need doom-modules-dirs, doom-core-dir or doom-psuedo-module-paths in the load-path). This is highly experimental however! |
||
|---|---|---|
| .. | ||
| 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 ...)