1676 |
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 |
1677 |
compatibility. You can do this with @code{defvaralias}. |
compatibility. You can do this with @code{defvaralias}. |
1678 |
|
|
1679 |
@defmac defvaralias alias-var base-var [docstring] |
@defun defvaralias alias-var base-var [docstring] |
1680 |
This function defines the symbol @var{alias-var} as a variable alias |
This function defines the symbol @var{alias-var} as a variable alias |
1681 |
for symbol @var{base-var}. This means that retrieving the value of |
for symbol @var{base-var}. This means that retrieving the value of |
1682 |
@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 |
1685 |
If the @var{docstring} argument is present, it specifies the documentation for |
If the @var{docstring} argument is present, it specifies the documentation for |
1686 |
@var{alias-var}; otherwise, it has the same documentation as @var{base-var}, |
@var{alias-var}; otherwise, it has the same documentation as @var{base-var}, |
1687 |
if any. |
if any. |
1688 |
@end defmac |
@end defun |
1689 |
|
|
1690 |
@defun indirect-variable variable |
@defun indirect-variable variable |
1691 |
This function returns the variable at the end of the chain of aliases |
This function returns the variable at the end of the chain of aliases |