From afd16d460a4db8d5f07479e07185e0d4700e8415 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 5 Nov 2001 00:08:57 +0000 Subject: [PATCH] Document buffer-local-value. --- lispref/variables.texi | 7 +++++++ 1 file changed, 7 insertions(+) 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 list does @emph{not} change the buffer-local values of the variables. @end defun +@defun buffer-local-value variable buffer +This function returns the buffer-local binding of @var{variable} (a +symbol) in buffer @var{buffer}. If @var{variable} does not have a +buffer-local binding in buffer @var{buffer}, it returns the default +value (@pxref{Default Value}) of @var{variable} instead. +@end defun + @deffn Command kill-local-variable variable This function deletes the buffer-local binding (if any) for @var{variable} (a symbol) in the current buffer. As a result, the -- 2.39.5