From bd81fcf8dbeddcacf8efcdc8ea47ec2375b19001 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Sun, 8 May 2005 16:30:13 +0000 Subject: [PATCH] (Fdefvaralias): Remove any pre-existing variable-documentation property of the alias. --- src/eval.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5