# HG changeset patch # User Juanma Barranquero # Date 1026819812 0 # Node ID 0616af8d6d4293087e84e96d6738c9fa48b2f9f3 # Parent 9a7373e73243ee50857dca70bbcc95e77b4bfb93 Fix reference to `defvaralias' as a macro. diff -r 9a7373e73243 -r 0616af8d6d42 etc/NEWS --- a/etc/NEWS Tue Jul 16 06:43:19 2002 +0000 +++ b/etc/NEWS Tue Jul 16 11:43:32 2002 +0000 @@ -1517,12 +1517,12 @@ ** Variable aliases have been implemented: -- Macro: defvaralias ALIAS-VAR BASE-VAR [DOCSTRING] - -This defines the symbol ALIAS-VAR as a variable alias for symbol -BASE-VAR. This means that retrieving the value of ALIAS-VAR returns -the value of BASE-VAR, and changing the value of ALIAS-VAR changes the -value of BASE-VAR. +- Function: defvaralias ALIAS-VAR BASE-VAR [DOCSTRING] + +This function defines the symbol ALIAS-VAR as a variable alias for +symbol BASE-VAR. This means that retrieving the value of ALIAS-VAR +returns the value of BASE-VAR, and changing the value of ALIAS-VAR +changes the value of BASE-VAR. DOCSTRING, if present, is the documentation for ALIAS-VAR; else it has the same documentation as BASE-VAR. diff -r 9a7373e73243 -r 0616af8d6d42 lispref/variables.texi --- a/lispref/variables.texi Tue Jul 16 06:43:19 2002 +0000 +++ b/lispref/variables.texi Tue Jul 16 11:43:32 2002 +0000 @@ -1676,7 +1676,7 @@ 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] +@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 @@ -1685,7 +1685,7 @@ 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 defmac +@end defun @defun indirect-variable variable This function returns the variable at the end of the chain of aliases