]> code.delx.au - gnu-emacs/commitdiff
(Fdefvaralias): Remove any pre-existing variable-documentation
authorLuc Teirlinck <teirllm@auburn.edu>
Sun, 8 May 2005 16:30:13 +0000 (16:30 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Sun, 8 May 2005 16:30:13 +0000 (16:30 +0000)
property of the alias.

src/eval.c

index 8b6c188572727c6fe533f35e4f1936810f2b5c18..7f043daa5551150b7ee37b7a069ccc3862adf466 100644 (file)
@@ -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;
 }