From: Glenn Morris Date: Thu, 26 May 2011 00:54:27 +0000 (-0400) Subject: Tiny doc/lispref/variables.texi update. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~159 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eafed945b786c14e5101f91f7163c61fb91ec9c0;p=emacs.git Tiny doc/lispref/variables.texi update. * doc/lispref/variables.texi (File Local Variables): Update hack-local-variables `mode-only' return value. --- 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