doomemacs/modules/config/private
Henrik Lissner a967aa051a
Force autoloads to use absolute paths
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!
2018-02-19 01:25:37 -05:00
..
autoload.el Add config/private; for ~/.doom.d & ~/.config/doom support #406 2018-02-14 23:36:35 -05:00
config.el Add config/private; for ~/.doom.d & ~/.config/doom support #406 2018-02-14 23:36:35 -05:00
init.el Force autoloads to use absolute paths 2018-02-19 01:25:37 -05:00
README.org Add config/private; for ~/.doom.d & ~/.config/doom support #406 2018-02-14 23:36:35 -05:00

: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 ...)