/[emacs]/emacs/lispref/variables.texi
ViewVC logotype

Diff of /emacs/lispref/variables.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.40 by rms, Mon Jun 30 10:43:01 2003 UTC revision 1.41 by rms, Mon Jul 14 15:56:49 2003 UTC
# Line 1318  This returns @code{t} if @var{variable} Line 1318  This returns @code{t} if @var{variable}
1318  @code{nil}.  @code{nil}.
1319  @end defun  @end defun
1320    
1321    @defun buffer-local-value variable buffer
1322    This returns the value of @var{variable} that is currently in
1323    effect in @var{buffer}.  If it has no buffer-local binding in
1324    @var{buffer}, this function returns the default value.
1325    @end defun
1326    
1327  @defun buffer-local-variables &optional buffer  @defun buffer-local-variables &optional buffer
1328  This function returns a list describing the buffer-local variables in  This function returns a list describing the buffer-local variables in
1329  buffer @var{buffer}.  (If @var{buffer} is omitted, the current buffer is  buffer @var{buffer}.  (If @var{buffer} is omitted, the current buffer is
# Line 1666  chosen, or because its meaning has partl Line 1672  chosen, or because its meaning has partl
1672  to keep the old name as an @emph{alias} of the new one for  to keep the old name as an @emph{alias} of the new one for
1673  compatibility.  You can do this with @code{defvaralias}.  compatibility.  You can do this with @code{defvaralias}.
1674    
1675  @defun defvaralias alias-var base-var [docstring]  @defun defvaralias alias-var base-var &optional docstring
1676  This function defines the symbol @var{alias-var} as a variable alias  This function defines the symbol @var{alias-var} as a variable alias
1677  for symbol @var{base-var}. This means that retrieving the value of  for symbol @var{base-var}. This means that retrieving the value of
1678  @var{alias-var} returns the value of @var{base-var}, and changing the  @var{alias-var} returns the value of @var{base-var}, and changing the
1679  value of @var{alias-var} changes the value of @var{base-var}.  value of @var{alias-var} changes the value of @var{base-var}.
1680    
1681  If the @var{docstring} argument is present, it specifies the documentation for  If the @var{docstring} argument is non-@code{nil}, it specifies the
1682  @var{alias-var}; otherwise, it has the same documentation as @var{base-var},  documentation for @var{alias-var}; otherwise, the alias gets the same
1683  if any.  documentation as @var{base-var} has, if any.
1684  @end defun  @end defun
1685    
1686  @defun indirect-variable variable  @defun indirect-variable variable

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26