aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2011-05-25 20:54:27 -0400
committerGlenn Morris <[email protected]>2011-05-25 20:54:27 -0400
commiteafed945b786c14e5101f91f7163c61fb91ec9c0 (patch)
tree3d1972bbac35973115c715f727bab729bd529905 /doc/lispref
parent7d15102b760a748fb9f4479b5f14cb7f8e0cd976 (diff)
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/lispref')
-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 7d1ce7bff8..123f173131 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-26 Glenn Morris <[email protected]>
+
+ * variables.texi (File Local Variables):
+ Update hack-local-variables `mode-only' return value.
+
2011-05-19 Glenn Morris <[email protected]>
* lists.texi (Sets And Lists): Mention cl provides union etc.
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 7e2c32334a..7a8536933d 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