Mercurial > emacs
diff lispref/variables.texi @ 62191:a89efed2c3f0
(File Local Variables): `(hack-local-variables t)' now also checks
whether a mode is specified in the local variables list.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Mon, 09 May 2005 01:24:32 +0000 |
parents | bc3a702b646e |
children | 69b2883d6502 62afea0771d8 |
line wrap: on
line diff
--- a/lispref/variables.texi Mon May 09 00:38:25 2005 +0000 +++ b/lispref/variables.texi Mon May 09 01:24:32 2005 +0000 @@ -1804,10 +1804,9 @@ @code{enable-local-variables} into account. If the optional argument @var{mode-only} is non-@code{nil}, then all -this function does is return @code{t} if the @w{@samp{-*-}} line -specifies a mode and @code{nil} otherwise. It does not set the mode -nor any other file local variable. It does not check whether a mode -is specified in the local variables list at the end of the file. +this function does is return @code{t} if the @w{@samp{-*-}} line or +the local variables list specifies a mode and @code{nil} otherwise. +It does not set the mode nor any other file local variable. @end defun If a file local variable list could specify a function that would