aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-11-05 00:08:57 +0000
committerRichard M. Stallman2001-11-05 00:08:57 +0000
commitafd16d460a4db8d5f07479e07185e0d4700e8415 (patch)
treef4b5a7c6d4b27e6ba769ab0f9a559d70dd70928c
parent758f07de257b897de0ce1a2c1f360d9af91495d1 (diff)
downloademacs-afd16d460a4db8d5f07479e07185e0d4700e8415.tar.gz
emacs-afd16d460a4db8d5f07479e07185e0d4700e8415.zip
Document buffer-local-value.
-rw-r--r--lispref/variables.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/lispref/variables.texi b/lispref/variables.texi
index 17f4d28df3a..5d19cbefd0e 100644
--- a/lispref/variables.texi
+++ b/lispref/variables.texi
@@ -1359,6 +1359,13 @@ Note that storing new values into the @sc{cdr}s of cons cells in this
1359list does @emph{not} change the buffer-local values of the variables. 1359list does @emph{not} change the buffer-local values of the variables.
1360@end defun 1360@end defun
1361 1361
1362@defun buffer-local-value variable buffer
1363This function returns the buffer-local binding of @var{variable} (a
1364symbol) in buffer @var{buffer}. If @var{variable} does not have a
1365buffer-local binding in buffer @var{buffer}, it returns the default
1366value (@pxref{Default Value}) of @var{variable} instead.
1367@end defun
1368
1362@deffn Command kill-local-variable variable 1369@deffn Command kill-local-variable variable
1363This function deletes the buffer-local binding (if any) for 1370This function deletes the buffer-local binding (if any) for
1364@var{variable} (a symbol) in the current buffer. As a result, the 1371@var{variable} (a symbol) in the current buffer. As a result, the