summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuc Teirlinck <teirllm@auburn.edu>2005-05-05 22:40:56 +0000
committerLuc Teirlinck <teirllm@auburn.edu>2005-05-05 22:40:56 +0000
commitb0c68b63aeaf18a49e183b0802caf59bb464420e (patch)
treede8121278e6063d33b7d5abaf93b8f0388d87cb5
parentc05fe5d549c3431f5401f4938d19e3aed878c1ff (diff)
downloademacs-b0c68b63aeaf18a49e183b0802caf59bb464420e.tar.gz
(Fdefvaralias): Doc fix.
-rw-r--r--src/eval.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 6832f3197ad..8b6c1885727 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -725,7 +725,9 @@ DEFUN ("defvaralias", Fdefvaralias, Sdefvaralias, 2, 3, 0,
doc: /* Make SYMBOL a variable alias for symbol ALIASED.
Setting the value of SYMBOL will subsequently set the value of ALIASED,
and getting the value of SYMBOL will return the value ALIASED has.
-Third arg DOCSTRING, if non-nil, is documentation for SYMBOL.
+Third arg DOCSTRING, if non-nil, is documentation for SYMBOL. If it is
+omitted or nil, SYMBOL gets the documentation string of ALIASED, or of the
+variable at the end of the chain of aliases, if ALIASED is itself an alias.
The return value is ALIASED. */)
(symbol, aliased, docstring)
Lisp_Object symbol, aliased, docstring;