From: Richard M. Stallman Date: Tue, 2 Jan 2007 20:58:29 +0000 (+0000) Subject: (Variable Aliases): Clarify that aliases vars always have the same value. X-Git-Tag: emacs-pretest-22.0.93~286 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=babe03d6a9bb1376a6ab6461507b4a00c0763902;p=emacs.git (Variable Aliases): Clarify that aliases vars always have the same value. --- diff --git a/lispref/variables.texi b/lispref/variables.texi index a2fe4df4da1..a10a157af1b 100644 --- a/lispref/variables.texi +++ b/lispref/variables.texi @@ -1777,9 +1777,11 @@ compatibility. You can do this with @code{defvaralias}. @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