]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid spurious byte-compiler warnings in package-quickstart.el
authorStefan Kangas <stefan@marxist.se>
Wed, 10 Nov 2021 13:49:44 +0000 (14:49 +0100)
committerStefan Kangas <stefan@marxist.se>
Wed, 10 Nov 2021 13:52:38 +0000 (14:52 +0100)
* 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

index 4761a3d82bad770766d22ef61a337b8e1c38143a..55378ef8bd6cd812284541012931be0ca421caf6 100644 (file)
@@ -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