Mercurial > emacs
changeset 75051:04cb4f06cca2
(Variable Aliases): Clarify that aliases vars always have the same value.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 02 Jan 2007 20:58:29 +0000 |
parents | 27f521750ce8 |
children | e4c65da05f7c |
files | lispref/variables.texi |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/variables.texi Tue Jan 02 20:58:02 2007 +0000 +++ b/lispref/variables.texi Tue Jan 02 20:58:29 2007 +0000 @@ -1777,9 +1777,11 @@ @defun defvaralias new-alias base-variable &optional docstring This function defines the symbol @var{new-alias} as a variable alias -for symbol @var{base-variable}. This means that retrieving the value of -@var{new-alias} returns the value of @var{base-variable}, and changing the -value of @var{new-alias} changes the value of @var{base-variable}. +for symbol @var{base-variable}. This means that retrieving the value +of @var{new-alias} returns the value of @var{base-variable}, and +changing the value of @var{new-alias} changes the value of +@var{base-variable}. The two aliased variable names always share the +same value and the same bindings. If the @var{docstring} argument is non-@code{nil}, it specifies the documentation for @var{new-alias}; otherwise, the alias gets the same