mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Restore file-name-handler-alist a little sooner
Too late, and we risk read encoding issues when loading compressed elisp files.
This commit is contained in:
@ -40,7 +40,7 @@
|
||||
;; `file-name-handler-alist' since startup we want to preserve.
|
||||
(delete-dups (append file-name-handler-alist
|
||||
old-file-name-handler-alist))))
|
||||
(add-hook 'window-setup-hook #'doom-reset-file-handler-alist-h 101)))
|
||||
(add-hook 'emacs-startup-hook #'doom-reset-file-handler-alist-h 101)))
|
||||
|
||||
;; Ensure Doom is running out of this file's directory
|
||||
(setq user-emacs-directory (file-name-directory load-file-name))
|
||||
|
Reference in New Issue
Block a user