mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Only unset file-name-handler-alist in interactive sessions
This commit is contained in:
@ -23,7 +23,8 @@
|
||||
|
||||
;; This is consulted on every `require', `load' and various path/io functions.
|
||||
;; You get a minor speed up by nooping this.
|
||||
(setq file-name-handler-alist nil)
|
||||
(unless noninteractive
|
||||
(setq file-name-handler-alist nil))
|
||||
|
||||
;; Restore `file-name-handler-alist', because it is needed for handling
|
||||
;; encrypted or compressed files, among other things.
|
||||
|
Reference in New Issue
Block a user