diff src/eval.c @ 62178:91b45e7531ea

(Fdefvaralias): Remove any pre-existing variable-documentation property of the alias.
author Luc Teirlinck <teirllm@auburn.edu>
date Sun, 08 May 2005 16:30:13 +0000
parents cf2beba69ed0
children d66d7efe0adf 62afea0771d8
line wrap: on
line diff
--- a/src/eval.c	Sun May 08 16:28:35 2005 +0000
+++ b/src/eval.c	Sun May 08 16:30:13 2005 +0000
@@ -747,6 +747,8 @@
   LOADHIST_ATTACH (symbol);
   if (!NILP (docstring))
     Fput (symbol, Qvariable_documentation, docstring);
+  else
+    Fput (symbol, Qvariable_documentation, Qnil);
 
   return aliased;
 }