summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/package.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-11-10 14:49:44 +0100
committerStefan Kangas <stefan@marxist.se>2021-11-10 14:52:38 +0100
commit1e7720d39afa9b86c5c1bf4bfded994fa6e48aff (patch)
tree1a5311a16685208cc7ca2a207d0cb758ada54f86 /lisp/emacs-lisp/package.el
parente3f5f5d8672567d0b29dd83005bd5a399cab90c3 (diff)
downloademacs-1e7720d39afa9b86c5c1bf4bfded994fa6e48aff.tar.gz
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.
Diffstat (limited to 'lisp/emacs-lisp/package.el')
-rw-r--r--lisp/emacs-lisp/package.el1
1 files changed, 1 insertions, 0 deletions
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