emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undocumented hyperlinks in doc strings.


From: Luc Teirlinck
Subject: Re: Undocumented hyperlinks in doc strings.
Date: Fri, 17 Oct 2003 18:30:45 -0500 (CDT)

Richard Stallman wrote:

   Perhaps it should test that the variable has documentation
   as a variable.  That would be cleaner.  Would that do the job?

Yes:

                         ((and
                           (boundp sym)
                           (documentation-property sym
                                                   'variable-documentation))
                          (help-xref-button 8 'help-variable sym))

seems to work well.  It would still make a hyperlink for the variable
if explicitly preceded by the word "variable", so the author could
still make hyperlinks for undocumented  variables in (I would guess
extremely uncommon) situations where this might actually be desirable.

Sincerely,

Luc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]