]> git.eshelyaron.com Git - emacs.git/commitdiff
Document buffer-local-value.
authorRichard M. Stallman <rms@gnu.org>
Mon, 5 Nov 2001 00:08:57 +0000 (00:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 5 Nov 2001 00:08:57 +0000 (00:08 +0000)
lispref/variables.texi

index 17f4d28df3aafc825a88c24a02e875063abab825..5d19cbefd0ea67200dcc1f6c294b04c2e0b2ee5e 100644 (file)
@@ -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