From eafed945b786c14e5101f91f7163c61fb91ec9c0 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 25 May 2011 20:54:27 -0400 Subject: [PATCH] Tiny doc/lispref/variables.texi update. * doc/lispref/variables.texi (File Local Variables): Update hack-local-variables `mode-only' return value. --- doc/lispref/ChangeLog | 5 +++++ doc/lispref/variables.texi | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 7d1ce7bff80..123f1731311 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2011-05-26 Glenn Morris + + * variables.texi (File Local Variables): + Update hack-local-variables `mode-only' return value. + 2011-05-19 Glenn Morris * lists.texi (Sets And Lists): Mention cl provides union etc. diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 7e2c32334a4..7a8536933dc 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -1673,9 +1673,10 @@ turn. It calls @code{before-hack-local-variables-hook} and variables, respectively. 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 or -the local variables list specifies a mode and @code{nil} otherwise. -It does not set the mode nor any other file-local variable. +this function does is return a symbol specifying the major mode, +if the @w{@samp{-*-}} line or the local variables list specifies one, +and @code{nil} otherwise. It does not set the mode nor any other +file-local variable. @end defun @defvar file-local-variables-alist -- 2.39.2