[Top][All Lists]

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

Re: Change in cc-vars.el

From: Martin Stjernholm
Subject: Re: Change in cc-vars.el
Date: 16 Nov 2002 02:41:18 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Kenichi Handa <address@hidden> wrote:

> In article <address@hidden>, Martin Stjernholm <address@hidden> writes:
> > 2002-11-14  Kenichi Handa  <address@hidden>
> >         * progmodes/cc-vars.el: Don't cc-bytecomp-defun char-table-p.
> > Secondly, could you please explain the reason for this change?
> The bootstrapping problem of HEAD has been discussed on
> emacs-devel for several days.  I checked that char-table-p
> was fbound to cc-bytecomp-ignore by gdb; while setting a
> break point in Findirect_function in gdb and looking at the
> value of XSYMBOL (object)->function.

It's good that this is brought to my attention. As the writer of
cc-bytecomp, I think I'm able to contribute to a solution.

> cc-bytecomp-defun changes the function definition of the
> argument symbol (in the current case; char-table-p) to
> cc-bytecomp-ignore while byte-compiling.

Then it isn't working as intended. It should only (temporarily) bind a
symbol as a function if it has no function binding already. I believe
I've now corrected a bug in that; please test.

reply via email to

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