[Top][All Lists]
[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
- byte-optimize-set causes spurious byte compiler warnings,
Jesper Harder <=
Re: byte-optimize-set causes spurious byte compiler warnings, Richard Stallman, 2003/04/06