summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-05-25 20:54:27 -0400
committerGlenn Morris <rgm@gnu.org>2011-05-25 20:54:27 -0400
commiteafed945b786c14e5101f91f7163c61fb91ec9c0 (patch)
tree3d1972bbac35973115c715f727bab729bd529905 /doc
parent7d15102b760a748fb9f4479b5f14cb7f8e0cd976 (diff)
downloademacs-eafed945b786c14e5101f91f7163c61fb91ec9c0.tar.gz
Tiny doc/lispref/variables.texi update.
* doc/lispref/variables.texi (File Local Variables): Update hack-local-variables `mode-only' return value.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/variables.texi7
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 <rgm@gnu.org>
+
+ * variables.texi (File Local Variables):
+ Update hack-local-variables `mode-only' return value.
+
2011-05-19 Glenn Morris <rgm@gnu.org>
* 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