]> code.delx.au - gnu-emacs/blobdiff - doc/lispref/variables.texi
Tiny doc/lispref/variables.texi update.
[gnu-emacs] / doc / lispref / variables.texi
index 7e2c32334a4d043a0e8c7da8483480fd2beaed42..7a8536933dc0e9ea94667a8199a4f36ea419f008 100644 (file)
@@ -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