Mercurial > emacs
changeset 54717:a0b481c8f7d5
(help-make-xrefs): Recognize aliased variable with
inherited docstring.
author | Jesper Harder <harder@ifa.au.dk> |
---|---|
date | Mon, 05 Apr 2004 12:09:53 +0000 |
parents | 1ffff21d0989 |
children | fd0577e11e88 |
files | lisp/ChangeLog lisp/help-mode.el |
diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Mon Apr 05 11:57:14 2004 +0000 +++ b/lisp/ChangeLog Mon Apr 05 12:09:53 2004 +0000 @@ -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>
--- a/lisp/help-mode.el Mon Apr 05 11:57:14 2004 +0000 +++ b/lisp/help-mode.el Mon Apr 05 12:09:53 2004 +0000 @@ -374,8 +374,14 @@ (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)))))))