mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(lib): silence deprecation notice from autoload.el
It's been replaced with loaddeffs-gen.el in >=30, but we can't switch to it until we've dropped 29.x support.
This commit is contained in:
parent
1af6fe8502
commit
cb557319a9
1 changed files with 2 additions and 1 deletions
|
|
@ -167,7 +167,8 @@ hoist buggy forms into autoloads.")
|
||||||
Autoloads will be generated from autoload cookies in FILES (except those that
|
Autoloads will be generated from autoload cookies in FILES (except those that
|
||||||
match one of the regexps in EXCLUDE -- a list of strings). If LITERAL is
|
match one of the regexps in EXCLUDE -- a list of strings). If LITERAL is
|
||||||
non-nil, treat FILES as pre-generated autoload files instead."
|
non-nil, treat FILES as pre-generated autoload files instead."
|
||||||
(require 'autoload)
|
(quiet! ; silence deprecation notices in 30+
|
||||||
|
(require 'autoload))
|
||||||
(let (autoloads)
|
(let (autoloads)
|
||||||
(dolist (file files (nreverse (delq nil autoloads)))
|
(dolist (file files (nreverse (delq nil autoloads)))
|
||||||
(when (and (not (seq-find (doom-rpartial #'string-match-p file) exclude))
|
(when (and (not (seq-find (doom-rpartial #'string-match-p file) exclude))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue