fix: void-function doom-reset-file-handler-alist-h
A regression introduced in1d8c61698b
. Doom disables its file-name-handler-alist optimization if in a daemon session or if debug mode is active. Fix: #6657 Amend:1d8c61698b
This commit is contained in:
parent
05b344a852
commit
12bf6baa21
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ one wants that.")
|
||||||
;; explicitly tries to load the un-compiled calc-loaddefs.el. If it
|
;; explicitly tries to load the un-compiled calc-loaddefs.el. If it
|
||||||
;; doesn't exist, it'll go for calc-loaddefs.el.gz instead.
|
;; doesn't exist, it'll go for calc-loaddefs.el.gz instead.
|
||||||
(unless (locate-file "calc-loaddefs.el" (get 'load-path 'initial-value) nil)
|
(unless (locate-file "calc-loaddefs.el" (get 'load-path 'initial-value) nil)
|
||||||
`((unless noninteractive
|
`((when (fboundp 'doom-reset-file-handler-alist-h)
|
||||||
(doom-reset-file-handler-alist-h)
|
(doom-reset-file-handler-alist-h)
|
||||||
(remove-hook 'emacs-startup-hook #'doom-reset-file-handler-alist-h))))
|
(remove-hook 'emacs-startup-hook #'doom-reset-file-handler-alist-h))))
|
||||||
(cl-loop for var in doom-autoloads-cached-vars
|
(cl-loop for var in doom-autoloads-cached-vars
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue