Only unset file-name-handler-alist in interactive sessions
This commit is contained in:
parent
a0a7c34517
commit
0f4c0cce5b
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue