[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mode loaded twice with Local Variables
From: |
Chong Yidong |
Subject: |
Re: Mode loaded twice with Local Variables |
Date: |
Tue, 09 May 2006 09:22:26 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Then open `test.foo'. The (message "File opened") will be displayed
> twice:
> - When set-auto-mode will be called (calling foo-mode),
> - When local variables are evaluated (again calling foo-mode).
>
> I don't expect that, in particular, I have some LaTeX file that
> contains mode: LaTeX, but some questions are asked in my
> LaTeX-mode-hook, so they're asked twice.
AFAIK, this is the behavior in Emacs 21 as well. Does it create any
real problem? I don't think so.