comparison etc/NEWS @ 46391:5d5a55d8897b

Document third argument of defvaralias.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 15 Jul 2002 15:50:20 +0000
parents 097c4cba0759
children 0616af8d6d42
comparison
equal deleted inserted replaced
46390:4fbc342b5337 46391:5d5a55d8897b
1515 ** New vars `exec-suffixes' and `load-suffixes' used when 1515 ** New vars `exec-suffixes' and `load-suffixes' used when
1516 searching for an executable resp. an elisp file. 1516 searching for an executable resp. an elisp file.
1517 1517
1518 ** Variable aliases have been implemented: 1518 ** Variable aliases have been implemented:
1519 1519
1520 - Macro: defvaralias ALIAS-VAR BASE-VAR 1520 - Macro: defvaralias ALIAS-VAR BASE-VAR [DOCSTRING]
1521 1521
1522 This defines the symbol ALIAS-VAR as a variable alias for symbol 1522 This defines the symbol ALIAS-VAR as a variable alias for symbol
1523 BASE-VAR. This means that retrieving the value of ALIAS-VAR returns 1523 BASE-VAR. This means that retrieving the value of ALIAS-VAR returns
1524 the value of BASE-VAR, and changing the value of ALIAS-VAR changes the 1524 the value of BASE-VAR, and changing the value of ALIAS-VAR changes the
1525 value of BASE-VAR. 1525 value of BASE-VAR.
1526
1527 DOCSTRING, if present, is the documentation for ALIAS-VAR; else it has
1528 the same documentation as BASE-VAR.
1526 1529
1527 - Function: indirect-variable VARIABLE 1530 - Function: indirect-variable VARIABLE
1528 1531
1529 This function returns the variable at the end of the chain of aliases 1532 This function returns the variable at the end of the chain of aliases
1530 of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not 1533 of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not