mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-11 13:07:28 -05:00
Add doom//reload command (experimental)
This commit is contained in:
@@ -607,6 +607,12 @@ loads MODULE SUBMODULE's packages.el file."
|
|||||||
;; Commands
|
;; 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)
|
(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."
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
|
Reference in New Issue
Block a user