# HG changeset patch # User Eli Zaretskii # Date 1002179435 0 # Node ID f991379a000af36c44a45961393049cd8d780f82 # Parent 46563ae684576684051b5f3687b4994f6df5ee86 (File Variables): Emphasize the importance of having the `mode' variable the first in the list of local variables. From Eric Hanchrow . diff -r 46563ae68457 -r f991379a000a man/custom.texi --- a/man/custom.texi Wed Oct 03 20:32:19 2001 +0000 +++ b/man/custom.texi Thu Oct 04 07:10:35 2001 +0000 @@ -968,8 +968,11 @@ and a value for the variable @code{eval} is simply evaluated as an expression and the value is ignored. @code{mode} and @code{eval} are not real variables; setting variables named @code{mode} and @code{eval} -in any other context has no special meaning. If @code{mode} is used to -set a major mode, it should be the first ``variable'' in the list. +in any other context has no special meaning. @emph{If @code{mode} is +used to set a major mode, it should be the first ``variable'' in the +list.} Otherwise, the entries that precede it in the list of the local +variables are likely to be ignored, since most modes kill all local +variables as part of their initialization. You can use the @code{mode} ``variable'' to set minor modes as well as major modes; in fact, you can use it more than once, first to set the