[Top][All Lists]

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

Re: Backtrace and message buffer tell me different things

From: Stefan Monnier
Subject: Re: Backtrace and message buffer tell me different things
Date: Sun, 19 Dec 2010 08:51:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> - Fontification variables are let-bound by mumamo in the function it
> creates to do the fontification. It is done this way to override the
> buffer local variables as fast as possible.

Not sure why it let-binds these vars, but that's OK, it might indeed be
the best solution to your problem.

> - This particular variable is not buffer local by default so it is set
> with make-local-variable somewhere.
> (Maybe you want to avoid make-variable-buffer-local to catch conflicts
> like this?)

I think having it make-variable-buffer-local would not help (tho it
might happen to silence the warning because the check is not done well
What you want then is to explicitly (make-local-variable <var>) before
let-binding those vars.


reply via email to

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