summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuc Teirlinck <teirllm@auburn.edu>2005-05-08 16:30:13 +0000
committerLuc Teirlinck <teirllm@auburn.edu>2005-05-08 16:30:13 +0000
commitbd81fcf8dbeddcacf8efcdc8ea47ec2375b19001 (patch)
treeb614e7a27a5e7f1a462a5a8b6c068887433ed295 /src
parent9f29e8065a14e5853eb094bd43c08e95f4752852 (diff)
downloademacs-bd81fcf8dbeddcacf8efcdc8ea47ec2375b19001.tar.gz
(Fdefvaralias): Remove any pre-existing variable-documentation
property of the alias.
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index 8b6c1885727..7f043daa555 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -747,6 +747,8 @@ The return value is ALIASED. */)
LOADHIST_ATTACH (symbol);
if (!NILP (docstring))
Fput (symbol, Qvariable_documentation, docstring);
+ else
+ Fput (symbol, Qvariable_documentation, Qnil);
return aliased;
}