emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 1e7720d: Avoid spurious byte-compiler warnings in package-quickst


From: Stefan Kangas
Subject: master 1e7720d: Avoid spurious byte-compiler warnings in package-quickstart.el
Date: Wed, 10 Nov 2021 08:55:49 -0500 (EST)

branch: master
commit 1e7720d39afa9b86c5c1bf4bfded994fa6e48aff
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    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(+)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 4761a3d..55378ef 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]