mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Add emacs version to autoloads file path
Prevents stale byte-code across Emacs versions. Relevant to #4172
This commit is contained in:
@ -133,7 +133,8 @@ Use this for files that change often, like cache files. Must end with a slash.")
|
|||||||
Defaults to ~/.config/doom, ~/.doom.d or the value of the DOOMDIR envvar;
|
Defaults to ~/.config/doom, ~/.doom.d or the value of the DOOMDIR envvar;
|
||||||
whichever is found first. Must end in a slash.")
|
whichever is found first. Must end in a slash.")
|
||||||
|
|
||||||
(defconst doom-autoloads-file (concat doom-local-dir "autoloads.el")
|
(defconst doom-autoloads-file
|
||||||
|
(concat doom-local-dir "autoloads." emacs-version ".el")
|
||||||
"Where `doom-reload-core-autoloads' stores its core autoloads.
|
"Where `doom-reload-core-autoloads' stores its core autoloads.
|
||||||
|
|
||||||
This file is responsible for informing Emacs where to find all of Doom's
|
This file is responsible for informing Emacs where to find all of Doom's
|
||||||
|
Reference in New Issue
Block a user