From 6ee84789896fc713f470dbd4979aa905d407d40c Mon Sep 17 00:00:00 2001 From: David Morgan Date: Fri, 13 Dec 2024 12:18:51 +0000 Subject: Add another startup optimisation --- .emacs.d/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.emacs.d/init.el') 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) -- cgit 1.4.1-2-gfad0