1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00

(Fdefvaralias): Remove any pre-existing variable-documentation

property of the alias.
This commit is contained in:
Luc Teirlinck 2005-05-08 16:30:13 +00:00
parent 9f29e8065a
commit bd81fcf8db

View 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;
}