Mercurial > emacs
changeset 39544:f991379a000a
(File Variables): Emphasize the importance of having the `mode' variable
the first in the list of local variables. From Eric Hanchrow
<offby1@blarg.net>.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 04 Oct 2001 07:10:35 +0000 |
parents | 46563ae68457 |
children | 1765bd562688 |
files | man/custom.texi |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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