[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: elint and the byte-compiler
From: |
Ian Zimmerman |
Subject: |
Re: elint and the byte-compiler |
Date: |
Fri, 26 Jun 2015 16:15:15 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On 2015-06-27 00:27 +0200, Emanuel Berg wrote:
Emanuel> only then if I set the variable before that, is there a danger
Emanuel> what is loaded will in it's own init process write over what I
Emanuel> already set?
Ian> Not if the loaded module uses defvar ...
Emanuel> Is there some fast way of finding out other than checking the
Emanuel> source for each module and variable?
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.
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.
--
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.