bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: arg line missing when doing C-h f on sort-regexp-fields


From: Stefan Monnier
Subject: Re: arg line missing when doing C-h f on sort-regexp-fields
Date: 05 Nov 2001 19:17:21 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

>>>>> "Jonas" == Jonas Jarnestrom <erajonj@ki.ericsson.se> writes:
> "sort-regexp-fields is an interactive autoloaded Lisp function in `sort'.
[...]
> i.e. the second line normally displaying the arg list is missing.
> In this case that is extra bad 'cause arg1,arg4-5 are not 
> mentioned at all in the rest of the text.

That's because it's an autoloaded function that's not loaded yet.
So Emacs has no idea what the function looks, it just knows that it's
a function (and an interactive one at that) and that if someone calls
it, it can find it in `sort'.

I.e. you'll need to load `sort' (f.ex. by calling the function) before
the arglist will be displayed.  But I agree that since Emacs knows
the docstring, it might as well give you the arglist.

I think this could be fixed by hacking autoloads.el.  I'll keep it
in my TODO file.


        Stefan



reply via email to

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