Add emacs version to autoloads file path
Prevents stale byte-code across Emacs versions. Relevant to #4172
This commit is contained in:
parent
d784509abf
commit
9ce9c6838e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
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.
|
||||
|
||||
This file is responsible for informing Emacs where to find all of Doom's
|
||||
|
|
Loading…
Reference in a new issue