Ihor Radchenko <yanta...@gmail.com> writes: > Unfortunately, fixing the occurrences of (defvar foo nil) is not > completely straightforward. Some of them are real defvars.
I see, I thought you meant those defvars were also used for dynamic scoping. > > If someone is willing to check all the occurrences of > (defvar +[^ ]+ +nil) and remove nil values where we merely put a defvar > to silence byte-compiler, please do it. My initial request was just to fix this one instance that is actively troubling me. If there are any other known cases of defvar, they should also be fixed. If not, then let's wait until someone identifies them. If any maintainers reading this could fix this one defvar, that'd be great. > > Also, I feel that my Elisp-foo is not good enough in this specific > scenario. I invite others to reply if they feel that changing > (defvar foo nil) to (defvar foo) for externally defined variables is > _not_ universally safe. > > Best, > Ihor