2018-02-14 23:18:10 -05:00
|
|
|
;;; config/private/init.el -*- lexical-binding: t; -*-
|
|
|
|
|
|
|
|
(defvar +private-config-path
|
|
|
|
(if (featurep! +xdg)
|
|
|
|
(expand-file-name "doom/" (or (getenv "XDG_CONFIG_HOME") "~/.config"))
|
|
|
|
"~/.doom.d")
|
|
|
|
"The directory that serves as the root of your external private config for
|
|
|
|
Doom Emacs.")
|
|
|
|
|
2018-03-05 23:01:33 -05:00
|
|
|
;; Ensure `doom//reload-autoloads', `doom//byte-compile' and
|
|
|
|
;; `doom-initialize-packages' will treat `+private-config-path' as the root of
|
|
|
|
;; this module.
|
2018-03-12 13:07:17 -04:00
|
|
|
(cl-pushnew +private-config-path doom-psuedo-module-dirs)
|
|
|
|
(cl-pushnew (expand-file-name "modules/" +private-config-path)
|
|
|
|
doom-modules-dirs :test #'string=)
|
2018-02-14 23:18:10 -05:00
|
|
|
|
2018-03-05 23:01:33 -05:00
|
|
|
;;
|
|
|
|
(load (expand-file-name "init.el" +private-config-path)
|
|
|
|
'noerror 'nomessage)
|