aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-05-25 20:54:27 -0400
committerGlenn Morris2011-05-25 20:54:27 -0400
commiteafed945b786c14e5101f91f7163c61fb91ec9c0 (patch)
tree3d1972bbac35973115c715f727bab729bd529905
parent7d15102b760a748fb9f4479b5f14cb7f8e0cd976 (diff)
downloademacs-eafed945b786c14e5101f91f7163c61fb91ec9c0.tar.gz
emacs-eafed945b786c14e5101f91f7163c61fb91ec9c0.zip
Tiny doc/lispref/variables.texi update.
* doc/lispref/variables.texi (File Local Variables): Update hack-local-variables `mode-only' return value.
-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 @@
12011-05-26 Glenn Morris <rgm@gnu.org>
2
3 * variables.texi (File Local Variables):
4 Update hack-local-variables `mode-only' return value.
5
12011-05-19 Glenn Morris <rgm@gnu.org> 62011-05-19 Glenn Morris <rgm@gnu.org>
2 7
3 * lists.texi (Sets And Lists): Mention cl provides union etc. 8 * 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
1673variables, respectively. 1673variables, respectively.
1674 1674
1675If the optional argument @var{mode-only} is non-@code{nil}, then all 1675If the optional argument @var{mode-only} is non-@code{nil}, then all
1676this function does is return @code{t} if the @w{@samp{-*-}} line or 1676this function does is return a symbol specifying the major mode,
1677the local variables list specifies a mode and @code{nil} otherwise. 1677if the @w{@samp{-*-}} line or the local variables list specifies one,
1678It does not set the mode nor any other file-local variable. 1678and @code{nil} otherwise. It does not set the mode nor any other
1679file-local variable.
1679@end defun 1680@end defun
1680 1681
1681@defvar file-local-variables-alist 1682@defvar file-local-variables-alist