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:
parent
e2a11d24fd
commit
ea389b8eb2
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
;; `file-name-handler-alist' since startup we want to preserve.
|
;; `file-name-handler-alist' since startup we want to preserve.
|
||||||
(delete-dups (append file-name-handler-alist
|
(delete-dups (append file-name-handler-alist
|
||||||
old-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
|
;; Ensure Doom is running out of this file's directory
|
||||||
(setq user-emacs-directory (file-name-directory load-file-name))
|
(setq user-emacs-directory (file-name-directory load-file-name))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue