Change doom//reload to only reload private config
This commit is contained in:
parent
bec79a3d4c
commit
87699f3973
1 changed files with 7 additions and 3 deletions
|
@ -679,10 +679,14 @@ loads MODULE SUBMODULE's packages.el file."
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(defun doom//reload ()
|
(defun doom//reload ()
|
||||||
"Reload your Doom config. Experimental!"
|
"Reload your private Doom config. Experimental!"
|
||||||
(interactive)
|
(interactive)
|
||||||
(load (concat doom-emacs-dir "init.el") nil nil 'nosuffix)
|
(doom//reload-load-path)
|
||||||
(doom//reload-load-path))
|
(let ((doom--stage 'init))
|
||||||
|
(load (concat doom-private-dir "init.el") nil nil 'nosuffix))
|
||||||
|
(let ((doom--stage 'config))
|
||||||
|
(load (concat doom-private-dir "config.el") nil nil 'nosuffix))
|
||||||
|
(message "Private config reloaded"))
|
||||||
|
|
||||||
(defun doom-packages--read-if-cookies (file)
|
(defun doom-packages--read-if-cookies (file)
|
||||||
"Returns the value of the ;;;###if predicate form in FILE."
|
"Returns the value of the ;;;###if predicate form in FILE."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue