emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/variables.texi


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lispref/variables.texi
Date: Mon, 15 Jul 2002 11:39:41 -0400

Index: emacs/lispref/variables.texi
diff -c emacs/lispref/variables.texi:1.31 emacs/lispref/variables.texi:1.32
*** emacs/lispref/variables.texi:1.31   Mon May 13 15:04:27 2002
--- emacs/lispref/variables.texi        Mon Jul 15 11:39:40 2002
***************
*** 1676,1686 ****
  to keep the old name as an @emph{alias} of the new one for
  compatibility.  You can do this with @code{defvaralias}.
  
! @defmac defvaralias alias-var base-var
  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}.
  @end defmac
  
  @defun indirect-variable variable
--- 1676,1690 ----
  to keep the old name as an @emph{alias} of the new one for
  compatibility.  You can do this with @code{defvaralias}.
  
! @defmac 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 that @var{base-var},
+ if any.
  @end defmac
  
  @defun indirect-variable variable



reply via email to

[Prev in Thread] Current Thread [Next in Thread]