mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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.
|
;; This is consulted on every `require', `load' and various path/io functions.
|
||||||
;; You get a minor speed up by nooping this.
|
;; 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
|
;; Restore `file-name-handler-alist', because it is needed for handling
|
||||||
;; encrypted or compressed files, among other things.
|
;; encrypted or compressed files, among other things.
|
||||||
|
Reference in New Issue
Block a user