]> git.eshelyaron.com Git - emacs.git/commitdiff
(File Local Variables): `(hack-local-variables t)' now also checks
authorLuc Teirlinck <teirllm@auburn.edu>
Mon, 9 May 2005 01:24:32 +0000 (01:24 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Mon, 9 May 2005 01:24:32 +0000 (01:24 +0000)
whether a mode is specified in the local variables list.

lispref/variables.texi

index 5ece7e989066ee669e7010f8adfddbf524b44a60..28eab924ecad911edbd4e1497f4ec804bfb0be6e 100644 (file)
@@ -1804,10 +1804,9 @@ function does not look for the @samp{mode:} local variable in the
 @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