# HG changeset patch # User Luc Teirlinck # Date 1115601872 0 # Node ID a89efed2c3f0cbf98d8798a345bef11490ea63ca # Parent 77d48ce87d573631d2617530c4a5145ab04b5d4f (File Local Variables): `(hack-local-variables t)' now also checks whether a mode is specified in the local variables list. diff -r 77d48ce87d57 -r a89efed2c3f0 lispref/variables.texi --- 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