diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-12-13 12:18:51 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-12-13 12:18:51 +0000 |
commit | 6ee84789896fc713f470dbd4979aa905d407d40c (patch) | |
tree | 8f406140a9feef1200beb3a6a243a4ebe60e452b /.emacs.d/init.el | |
parent | 38e54861ac6ef9cfc7e443399154a30f67d7d0b0 (diff) | |
download | dotfiles-6ee84789896fc713f470dbd4979aa905d407d40c.tar.gz |
Add another startup optimisation
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2250665..52f9d79 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -23,7 +23,10 @@ (add-hook 'elpaca-after-init-hook #'(lambda () (setq gc-cons-threshold (* 100 1024 1024) - gc-cons-percentage 0.1)) + gc-cons-percentage 0.1 + ;; https://github.com/magnars/emacsd-reboot/blob/44ebe6b5f80deebe0907be55f206a0a3f7fc9fcd/settings/fast-startup.el#L28-29 + (setq file-name-handler-alist file-name-handler-alist-original) + (makunbound 'file-name-handler-alist-original))) 99) (require 'init-packages) |