# HG changeset patch # User Richard M. Stallman # Date 1004918937 0 # Node ID 867ed25daefa85d67bb6034165228764a820f5e3 # Parent 20229bfaf7ce3b584e8c02fbe4eaee21e8adba0d Document buffer-local-value. diff -r 20229bfaf7ce -r 867ed25daefa lispref/variables.texi --- a/lispref/variables.texi Sun Nov 04 23:56:21 2001 +0000 +++ b/lispref/variables.texi Mon Nov 05 00:08:57 2001 +0000 @@ -1359,6 +1359,13 @@ 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