about summary refs log tree commit diff stats
path: root/.emacs.d/early-init.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-12-13 12:18:51 +0000
committerDavid Morgan <djm_uk@protonmail.com>2024-12-13 12:18:51 +0000
commit6ee84789896fc713f470dbd4979aa905d407d40c (patch)
tree8f406140a9feef1200beb3a6a243a4ebe60e452b /.emacs.d/early-init.el
parent38e54861ac6ef9cfc7e443399154a30f67d7d0b0 (diff)
downloaddotfiles-6ee84789896fc713f470dbd4979aa905d407d40c.tar.gz
Add another startup optimisation
Diffstat (limited to '.emacs.d/early-init.el')
-rw-r--r--.emacs.d/early-init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el
index 1dd7a01..d76cf5a 100644
--- a/.emacs.d/early-init.el
+++ b/.emacs.d/early-init.el
@@ -5,6 +5,10 @@
 (setq gc-cons-threshold most-positive-fixnum
       gc-cons-percentage 0.6)
 
+;;https://github.com/magnars/emacsd-reboot/blob/44ebe6b5f80deebe0907be55f206a0a3f7fc9fcd/settings/fast-startup.el#L11-L12
+(setq file-name-handler-alist-original file-name-handler-alist)
+(setq file-name-handler-alist nil)
+
 (setq load-prefer-newer t
       native-comp-async-report-warnings-errors nil
       native-comp-warning-on-missing-source nil