mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
refactor: remove redundant set-default-toplevel-value call
This commit is contained in:
@@ -384,8 +384,6 @@ users).")
|
|||||||
(locate-file-internal "calc-loaddefs.el" load-path))
|
(locate-file-internal "calc-loaddefs.el" load-path))
|
||||||
nil
|
nil
|
||||||
(list (rassq 'jka-compr-handler old-value))))
|
(list (rassq 'jka-compr-handler old-value))))
|
||||||
;; Make sure the new value survives any current let-binding.
|
|
||||||
(set-default-toplevel-value 'file-name-handler-alist file-name-handler-alist)
|
|
||||||
;; Remember it so it can be reset where needed.
|
;; Remember it so it can be reset where needed.
|
||||||
(put 'file-name-handler-alist 'initial-value old-value)
|
(put 'file-name-handler-alist 'initial-value old-value)
|
||||||
;; COMPAT: Eventually, Emacs will process any files passed to it via the
|
;; COMPAT: Eventually, Emacs will process any files passed to it via the
|
||||||
|
Reference in New Issue
Block a user