mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Restore startup optimizations on after-init-hook
Fixes an issue where tramp file handlers were overwritten because they were added to file-name-handler-alist at the end of after-init-hook.
This commit is contained in:
2
init.el
2
init.el
@ -58,7 +58,7 @@ decrease this. If you experience stuttering, increase this.")
|
||||
;; You get a minor speed up by nooping this.
|
||||
(setq file-name-handler-alist nil)
|
||||
;; Not restoring these to their defaults will cause stuttering/freezes.
|
||||
(add-hook 'emacs-startup-hook #'doom|restore-startup-optimizations))
|
||||
(add-hook 'after-init-hook #'doom|restore-startup-optimizations))
|
||||
|
||||
|
||||
;; Ensure Doom is running out of this file's directory
|
||||
|
Reference in New Issue
Block a user