emacs-pretest-bug
[Top][All Lists]
Advanced

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

byte-optimize-set causes spurious byte compiler warnings


From: Jesper Harder
Subject: byte-optimize-set causes spurious byte compiler warnings
Date: Thu, 03 Apr 2003 04:53:42 +0200
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux)

In GNU Emacs 21.3.50.34 (i686-pc-linux-gnu)
 of 2003-04-01 on defun.localdomain
configured using `configure '--with-gtk''

Hi!

This recent change:

,----
| 2003-03-25  Stefan Monnier  <address@hidden>
| 
|       * emacs-lisp/byte-opt.el (byte-optimize-set): New.
|       Turn `set' into `setq' when applicable.
`----

causes spurious byte compiler warnings:

  gnus-art.el:3549:4:Warning: assignment to free variable tool-bar-map

for code like this:

  (set (make-local-variable 'tool-bar-map) gnus-summary-tool-bar-map)

-- 
Cheers,
Jesper Harder





reply via email to

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