From: Richard M. Stallman Date: Mon, 5 Nov 2001 00:08:57 +0000 (+0000) Subject: Document buffer-local-value. X-Git-Tag: ttn-vms-21-2-B4~18823 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=afd16d460a4db8d5f07479e07185e0d4700e8415;p=emacs.git Document buffer-local-value. --- 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