(help-make-xrefs): Recognize aliased variable with

inherited docstring.
This commit is contained in:
Jesper Harder 2004-04-05 12:09:53 +00:00
parent cbfbd37df5
commit 1d0a6ebb50
2 changed files with 11 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2004-04-05 Jesper Harder <harder@ifa.au.dk>
* help-mode.el (help-make-xrefs): Recognize aliased variable with
inherited docstring.
* play/gamegrid.el (gamegrid-add-score-insecure): Use sort-fields.
2004-04-04 Luc Teirlinck <teirllm@auburn.edu>

View file

@ -374,8 +374,14 @@ that."
(help-xref-button 8 'help-symbol sym))
((and
(boundp sym)
(documentation-property sym
'variable-documentation))
(or
(documentation-property
sym 'variable-documentation)
(condition-case nil
(documentation-property
(indirect-variable sym)
'variable-documentation)
(cyclic-variable-indirection nil))))
(help-xref-button 8 'help-variable sym))
((fboundp sym)
(help-xref-button 8 'help-function sym)))))))