[Top][All Lists]

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

Re: mentioning variable aliases in `describe-variable'

From: Richard Stallman
Subject: Re: mentioning variable aliases in `describe-variable'
Date: Tue, 16 Jul 2002 21:04:45 -0600 (MDT)

    If it is a bug, AFAICS the only answers are either make `defalias' to
    add the arglist to the end of the docstring of aliased built-ins (messy,
    I think), or klugde `describe-function' to search the arglist of the
    primitive function if the alias has a docstring (ugh).

At present, only `describe-function' knows how to handle the argument
lists.  For builtin functions, the info is part of the doc string; for
Lisp functions, it is not.  Therefore, for alias functions as well, we
only need `describe-function' to handle the arglist.

Perhaps the best thing is simply to tell the user how to put in the
arglist info when making an alias for a builtin function.  That is
definitely a simple method.

reply via email to

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