From: Stefan Kangas Date: Wed, 10 Nov 2021 13:49:44 +0000 (+0100) Subject: Avoid spurious byte-compiler warnings in package-quickstart.el X-Git-Tag: emacs-29.0.90~3671^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1e7720d39afa9b86c5c1bf4bfded994fa6e48aff;p=emacs.git Avoid spurious byte-compiler warnings in package-quickstart.el * lisp/emacs-lisp/package.el (package-quickstart-refresh): Disable the "`make-variable-buffer-local' not called at toplevel" byte-compiler warnings. Given that we wrap it all in a let-form, these are mostly false positives and not helpful. --- diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 4761a3d82ba..55378ef8bd6 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -4195,6 +4195,7 @@ activations need to be changed, such as when `package-load-list' is modified." ;; Local\sVariables: ;; version-control: never ;; no-update-autoloads: t +;; byte-compile-warnings: (not make-local) ;; End: ")) ;; FIXME: Do it asynchronously in an Emacs subprocess, and