Subject: Re: bug#10761: 24.0.93; variable declared with defvar is not recognized as special

From: Oleksandr Manzyuk <[email-masked]>
Date: Fri, 10 Feb 2012 16:03:34 +0000

On Thu, Feb 9, 2012 at 9:52 PM, Stefan Monnier <[email-masked]> wrote:
>> 1. emacs -Q
>> 2. M-: (boundp 'pcomplete-stub) RET ==> nil
>> 3. M-x shell
>> 4. M-: (boundp 'pcomplete-stub) RET ==> t
>> 5. M-: (special-variable-p 'pcomplete-stub) RET ==> nil
>> 6. Open the file `pcomplete.el' (for example, by looking up the variable
>> `pcomplete-stub') and M-x eval-buffer.  Now (special-variable-p
>> 'pcomplete-stub) evaluates to t.
>
> Thanks for catching this.  It's actually a pretty bad bug.
> I've installed the patch below which I believe fixes the problem,

Thanks.  After updating to the newest version and manually
byte-compiling `pcomplete.el', the problem is gone.  Is 'make && make
install' not supposed to byte-recompile the ELisp libraries, too?

-- 
Oleksandr Manzyuk
http://oleksandrmanzyuk.wordpress.com