aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-05-09 01:24:32 +0000
committerLuc Teirlinck2005-05-09 01:24:32 +0000
commitdc3349718852b2db33fa986fbb9ecc1af7026667 (patch)
treec0df245d14f51942c87a88172e826d0f6a083a55
parentf1701e6542604afbeae652cc033bab76f255e129 (diff)
downloademacs-dc3349718852b2db33fa986fbb9ecc1af7026667.tar.gz
emacs-dc3349718852b2db33fa986fbb9ecc1af7026667.zip
(File Local Variables): `(hack-local-variables t)' now also checks
whether a mode is specified in the local variables list.
-rw-r--r--lispref/variables.texi7
1 files 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
1804@code{enable-local-variables} into account. 1804@code{enable-local-variables} into account.
1805 1805
1806If the optional argument @var{mode-only} is non-@code{nil}, then all 1806If the optional argument @var{mode-only} is non-@code{nil}, then all
1807this function does is return @code{t} if the @w{@samp{-*-}} line 1807this function does is return @code{t} if the @w{@samp{-*-}} line or
1808specifies a mode and @code{nil} otherwise. It does not set the mode 1808the local variables list specifies a mode and @code{nil} otherwise.
1809nor any other file local variable. It does not check whether a mode 1809It does not set the mode nor any other file local variable.
1810is specified in the local variables list at the end of the file.
1811@end defun 1810@end defun
1812 1811
1813 If a file local variable list could specify a function that would 1812 If a file local variable list could specify a function that would