changeset 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 77d48ce87d57
children 77588ebf4a2f
files lispref/variables.texi
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
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