emacs-devel
[Top][All Lists]
Advanced

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

Re: locals.texi


From: Stefan Monnier
Subject: Re: locals.texi
Date: Tue, 04 Jul 2006 12:31:54 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>       (set (make-local-variable 'font-lock-defaults)
>          '(gdb-memory-font-lock-keywords))

> 1. It is always cleaner to use separate calls to make-local-variable
>    and setq.

That's not true.  *You* may always find it cleaner, but it's far from
a general truth.  E.g. I strongly prefer to keep the two together (actually
I'd like to introduce a setq-local macro for it).


        Stefan




reply via email to

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