[Top][All Lists]

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

Re: locals.texi

From: Stefan Monnier
Subject: Re: locals.texi
Date: Thu, 06 Jul 2006 23:55:44 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> However, my original question was that with a variable like
> font-lock-defaults, that automatically becomes buffer-local in each buffer, I
> presumably don't need to use make-local-variable at all?

That's only true if you're 100% sure that the call to
make-variable-buffer-local will always have been made before your code runs.

In the case of font-lock-defaults it's currently true (since it's in
font-core.el which is preloaded), but it wasn't true in older Emacsen.


reply via email to

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