|
From: | Jesper Harder |
Subject: | Re: byte-optimize-set causes spurious byte compiler warnings |
Date: | Thu, 03 Apr 2003 20:19:00 +0200 |
User-agent: | Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux) |
"Stefan Monnier" <monnier+gnu/emacs/address@hidden> writes: >> causes spurious byte compiler warnings: > > I wouldn't call them "spurious" but "additional". Have you experienced that the warnings caused by the change has flagged any real bugs? >> (set (make-local-variable 'tool-bar-map) gnus-summary-tool-bar-map) > > The code needs a (defvar tool-bar-map) to declare that > tool-bar-map is an externally defined variable. I know that defvar silences the warning. But what's the point? It serves no other useful purpose than pacifying the byte compiler.
[Prev in Thread] | Current Thread | [Next in Thread] |