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:
parent
9f29e8065a
commit
bd81fcf8db
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue