diff options
| author | Stefan Kangas | 2021-11-10 14:49:44 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2021-11-10 14:52:38 +0100 |
| commit | 1e7720d39afa9b86c5c1bf4bfded994fa6e48aff (patch) | |
| tree | 1a5311a16685208cc7ca2a207d0cb758ada54f86 | |
| parent | e3f5f5d8672567d0b29dd83005bd5a399cab90c3 (diff) | |
| download | emacs-1e7720d39afa9b86c5c1bf4bfded994fa6e48aff.tar.gz emacs-1e7720d39afa9b86c5c1bf4bfded994fa6e48aff.zip | |
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.
| -rw-r--r-- | lisp/emacs-lisp/package.el | 1 |
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." | |||
| 4195 | ;; Local\sVariables: | 4195 | ;; Local\sVariables: |
| 4196 | ;; version-control: never | 4196 | ;; version-control: never |
| 4197 | ;; no-update-autoloads: t | 4197 | ;; no-update-autoloads: t |
| 4198 | ;; byte-compile-warnings: (not make-local) | ||
| 4198 | ;; End: | 4199 | ;; End: |
| 4199 | ")) | 4200 | ")) |
| 4200 | ;; FIXME: Do it asynchronously in an Emacs subprocess, and | 4201 | ;; FIXME: Do it asynchronously in an Emacs subprocess, and |