[Top][All Lists]
[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 12:17:59 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> 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'.
> Thank you, both.
> Stefan -- I'm missing something. Since lisp-mode kills all local
> variables, without setting permanent-local all changes I might make in
> hack-local-variables-hook are lost.
Doesn't matter: lisp-mode is called before hack-local-variables
(otherwise file-local variables would never work).
Stefan