changeset 40724:867ed25daefa

Document buffer-local-value.
author Richard M. Stallman <rms@gnu.org>
date Mon, 05 Nov 2001 00:08:57 +0000
parents 20229bfaf7ce
children a8af2e89346c
files lispref/variables.texi
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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