[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/variables.texi
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/variables.texi |
Date: |
Mon, 14 Jul 2003 11:56:49 -0400 |
Index: emacs/lispref/variables.texi
diff -c emacs/lispref/variables.texi:1.40 emacs/lispref/variables.texi:1.41
*** emacs/lispref/variables.texi:1.40 Mon Jun 30 06:43:01 2003
--- emacs/lispref/variables.texi Mon Jul 14 11:56:49 2003
***************
*** 1318,1323 ****
--- 1318,1329 ----
@code{nil}.
@end defun
+ @defun buffer-local-value variable buffer
+ This returns the value of @var{variable} that is currently in
+ effect in @var{buffer}. If it has no buffer-local binding in
+ @var{buffer}, this function returns the default value.
+ @end defun
+
@defun buffer-local-variables &optional buffer
This function returns a list describing the buffer-local variables in
buffer @var{buffer}. (If @var{buffer} is omitted, the current buffer is
***************
*** 1666,1680 ****
to keep the old name as an @emph{alias} of the new one for
compatibility. You can do this with @code{defvaralias}.
! @defun defvaralias alias-var base-var [docstring]
This function defines the symbol @var{alias-var} as a variable alias
for symbol @var{base-var}. This means that retrieving the value of
@var{alias-var} returns the value of @var{base-var}, and changing the
value of @var{alias-var} changes the value of @var{base-var}.
! If the @var{docstring} argument is present, it specifies the documentation for
! @var{alias-var}; otherwise, it has the same documentation as @var{base-var},
! if any.
@end defun
@defun indirect-variable variable
--- 1672,1686 ----
to keep the old name as an @emph{alias} of the new one for
compatibility. You can do this with @code{defvaralias}.
! @defun defvaralias alias-var base-var &optional docstring
This function defines the symbol @var{alias-var} as a variable alias
for symbol @var{base-var}. This means that retrieving the value of
@var{alias-var} returns the value of @var{base-var}, and changing the
value of @var{alias-var} changes the value of @var{base-var}.
! If the @var{docstring} argument is address@hidden, it specifies the
! documentation for @var{alias-var}; otherwise, the alias gets the same
! documentation as @var{base-var} has, if any.
@end defun
@defun indirect-variable variable
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/variables.texi,
Richard M. Stallman <=