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 |
@defmac 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 |
1683 |
value of @var{alias-var} changes the value of @var{base-var}. |
value of @var{alias-var} changes the value of @var{base-var}. |
1684 |
|
|
1685 |
|
If the @var{docstring} argument is present, it specifies the documentation for |
1686 |
|
@var{alias-var}; otherwise, it has the same documentation that @var{base-var}, |
1687 |
|
if any. |
1688 |
@end defmac |
@end defmac |
1689 |
|
|
1690 |
@defun indirect-variable variable |
@defun indirect-variable variable |