diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-10-12 16:29:45 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-10-12 16:29:45 +0100 |
commit | 484d71c5dec78c2f0f4bb732637a59a2ad234b6b (patch) | |
tree | 8cd6f1b9cd5004c61a9f0a9c037d1c970f82c5ad /.emacs.d | |
parent | 58ae54c06e3adc2a44f984a8d340e091ad3a326e (diff) | |
download | dotfiles-484d71c5dec78c2f0f4bb732637a59a2ad234b6b.tar.gz |
Remove load-file advice before loading user-init-file
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/early-init.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index a12132e..ef5640c 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -40,6 +40,8 @@ (setq redisplay-skip-fontification-on-input t) (define-advice load-file (:override (file) silence) - (load file nil :nomessage)) + (load file nil 'nomessage)) +(define-advice startup--load-user-init-file (:before (&rest _) undo-silence) + (advice-remove #'load-file #'load-file@silence)) ;;; early-init.el ends here |