From dc3349718852b2db33fa986fbb9ecc1af7026667 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Mon, 9 May 2005 01:24:32 +0000 Subject: [PATCH] (File Local Variables): `(hack-local-variables t)' now also checks whether a mode is specified in the local variables list. --- lispref/variables.texi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lispref/variables.texi b/lispref/variables.texi index 5ece7e98906..28eab924eca 100644 --- a/lispref/variables.texi +++ b/lispref/variables.texi @@ -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 -- 2.39.2