mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Some installs of Emacs do not come with byte-compiled versions of its bundled elisp files, so when loading them, Emacs falls back to loading its *.el.gz files. This would be fine if it were not for a startup optimization Doom employs, where it sets file-name-handler-alist to nil (and by doing so, robs Emacs of the ability to read compressed elisp). This causes "symbol's value as variable is void: \213" errors at startup. With this commit, Doom now disables this optimization early if it suspects this applies to your install. But time will tell if it's early enough. Ref: https://mail.gnu.org/archive/html/emacs-devel/2022-08/msg00234.html