summaryrefslogtreecommitdiff
path: root/lispref/variables.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-01-02 20:58:29 +0000
committerRichard M. Stallman <rms@gnu.org>2007-01-02 20:58:29 +0000
commitbabe03d6a9bb1376a6ab6461507b4a00c0763902 (patch)
tree0edef75db1e5e063d13700518b05ca093db2854e /lispref/variables.texi
parent9e7166c8f4aae07168728e9c6af1777def473a7c (diff)
downloademacs-babe03d6a9bb1376a6ab6461507b4a00c0763902.tar.gz
(Variable Aliases): Clarify that aliases vars always have the same value.
Diffstat (limited to 'lispref/variables.texi')
-rw-r--r--lispref/variables.texi8
1 files changed, 5 insertions, 3 deletions
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