From cb557319a9750c13432550dda99bd0053a9ac52f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 13 Nov 2024 03:00:42 -0500 Subject: [PATCH] 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. --- lisp/lib/autoloads.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/lib/autoloads.el b/lisp/lib/autoloads.el index 13fa53d71..e4546275d 100644 --- a/lisp/lib/autoloads.el +++ b/lisp/lib/autoloads.el @@ -167,7 +167,8 @@ hoist buggy forms into autoloads.") 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 non-nil, treat FILES as pre-generated autoload files instead." - (require 'autoload) + (quiet! ; silence deprecation notices in 30+ + (require 'autoload)) (let (autoloads) (dolist (file files (nreverse (delq nil autoloads))) (when (and (not (seq-find (doom-rpartial #'string-match-p file) exclude))