mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
config/private: ensure config.el loads as late as possible #453
This commit is contained in:
@ -1,4 +1,8 @@
|
||||
;;; config/private/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defun +private|load-config ()
|
||||
"Loads your private config.el in `+private-config-path'."
|
||||
(load (expand-file-name "config.el" +private-config-path)
|
||||
'noerror 'nomessage)
|
||||
'noerror 'nomessage))
|
||||
|
||||
(add-hook 'after-init-hook #'+private|load-config)
|
||||
|
Reference in New Issue
Block a user