Fix file-handlers for daemon sessions

This commit is contained in:
Henrik Lissner 2020-10-21 11:18:47 -04:00
parent 8892be8372
commit f92f4aab97
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -39,7 +39,7 @@
;; path/io functions. You get a minor speed up by nooping this. However, this ;; path/io functions. You get a minor speed up by nooping this. However, this
;; may cause problems on builds of Emacs where its site lisp files aren't ;; may cause problems on builds of Emacs where its site lisp files aren't
;; byte-compiled and we're forced to load the *.el.gz files (e.g. on Alpine) ;; byte-compiled and we're forced to load the *.el.gz files (e.g. on Alpine)
(unless noninteractive (unless (or noninteractive (daemonp))
(defvar doom--initial-file-name-handler-alist file-name-handler-alist) (defvar doom--initial-file-name-handler-alist file-name-handler-alist)
(setq file-name-handler-alist nil) (setq file-name-handler-alist nil)