Add doom//reload command (experimental)

This commit is contained in:
Henrik Lissner
2018-05-13 17:04:15 +02:00
parent 370dacf2a2
commit 88082c0dc9

View File

@ -607,6 +607,12 @@ loads MODULE SUBMODULE's packages.el file."
;; Commands
;;
(defun doom//reload ()
"Reload your Doom config."
(interactive)
(load (concat doom-emacs-dir "init.el") nil nil 'nosuffix)
(doom//reload-load-path))
(defun doom-packages--read-if-cookies (file)
"Returns the value of the ;;;###if predicate form in FILE."
(with-temp-buffer