Mercurial > emacs
diff etc/NEWS @ 46401:0616af8d6d42
Fix reference to `defvaralias' as a macro.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 16 Jul 2002 11:43:32 +0000 |
parents | 5d5a55d8897b |
children | af0b2d3d6ef8 |
line wrap: on
line diff
--- 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.