emacs-devel
[Top][All Lists]
Advanced

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

Re: lisp-mode and buffer local variables


From: Stefan Monnier
Subject: Re: lisp-mode and buffer local variables
Date: Thu, 09 Jun 2011 01:20:09 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> However, lisp-mode kills all buffer local variables, and I'm uncertain
>> how to best deal with this.
> ,----[ kill-all-local-variables ]
> | As a special exception, local variables whose names have
> | a non-nil `permanent-local' property are not eliminated by this function.
> `----

No need for that.  What he wants is for lisp-mode to use a hook run after
hack-local-variables to inspect the value of common-lisp-style and set
variables base on it.  Oh wait there is one, it's called
`hack-local-variables-hook'.


        Stefan



reply via email to

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