help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: elint and the byte-compiler


From: Emanuel Berg
Subject: Re: elint and the byte-compiler
Date: Sat, 27 Jun 2015 01:19:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Ian Zimmerman <itz@buug.org> writes:

> Any code which sets global variables unconditionally
> probably cannot make it past code review and into
> Emacs proper, so I wouldn't worry about this
> possibility for modules that come with Emacs.

OK - so in other words I can remove all the requires
and to make the byte-compiler shut up just use defvar
before I set the variable.

> For others, I would try byte-compiling them with
> a virgin Emacs (ie. one started with -q). If they
> misbehave they should cause exactly the
> same warning.

OK. Well, the only thing I use along those lines is
Emacs-w3m so it shouldn't be that much work.

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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