Subject: bug#15577: 24.3; dir-local variables not applied when switching major-mode

From: Stefan Monnier <[email-masked]>
Date: Sat, 19 Oct 2013 17:55:09 -0400

> Moving dir-local setup code to after-change-major-mode-hook would be a
> simple fix for issue #1. File-local (as it is now) in
> after-change-major-mode-hook would cause some problems eg. if a
> file-local sets the mode!

Obviously if we move the mode-setting part, we introduce a bug, so we
wouldn't move it (it's already handled separately for the same kind of
reasons).

        Stefan