From 273854e15e4369960cedc7c4e4bba44354c9bbb1 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sun, 2 Feb 2025 21:14:27 -0500 Subject: [PATCH] Update file-name-handler-alist initial value --- early-init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/early-init.el b/early-init.el index a976879..17f4954 100644 --- a/early-init.el +++ b/early-init.el @@ -101,8 +101,7 @@ When set to non-nil, Emacs will automatically call `package-initialize' and nil (list (rassq 'jka-compr-handler old-value)))) ;; Ensure the new value persists through any current let-binding. - (set-default-toplevel-value 'file-name-handler-alist - file-name-handler-alist) + (put 'file-name-handler-alist 'initial-value old-value) ;; Remember the old value to reset it as needed. (add-hook 'emacs-startup-hook (lambda ()