diff options
-rw-r--r-- | early-init.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el index 8984a17..60889f8 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -24,6 +24,15 @@ | |||
24 | load-path) | 24 | load-path) |
25 | (require 'acdw) | 25 | (require 'acdw) |
26 | 26 | ||
27 | ;;; Refresh Emacs easily | ||
28 | (defun refresh-emacs () | ||
29 | "Reload Emacs's configuration files." | ||
30 | (interactive) | ||
31 | (dolist (file (list (locate-user-emacs-file "early-init.el") | ||
32 | (locate-user-emacs-file "init.el" ".emacs"))) | ||
33 | (when (file-exists-p file) | ||
34 | (load-file file)))) | ||
35 | |||
27 | ;;; Speed up init | 36 | ;;; Speed up init |
28 | ;; see doom-emacs, et al. | 37 | ;; see doom-emacs, et al. |
29 | 38 | ||