From 1e7720d39afa9b86c5c1bf4bfded994fa6e48aff Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 10 Nov 2021 14:49:44 +0100 Subject: 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. --- lisp/emacs-lisp/package.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp/emacs-lisp') 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 -- cgit v1.2.3