changeset 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 33a95bb3bfe6
children 10a82ef7d0a9
files src/eval.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;
 }