A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/help-gnu-emacs/2015-08/msg00755.html below:

Re: get nargs for a function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Sam Halliday Subject: Re: get nargs for a function Date: Sun, 30 Aug 2015 07:14:39 -0700 (PDT) User-agent: G2/1.0
On Sunday, 30 August 2015 03:22:46 UTC+1, Stefan Monnier  wrote:
> > (defun args (function)
> >   "The arg list of FUNCTION."
> >   (let ((kind (car function)))
> >     (if (eq kind 'closure)
> >         (cadr (cdr function))
> >       (cadr function))))
> 
> To get the description of the arglist, you're better off using
> `help-function-arglist'.

I don't believe that works here as the input is typically anonymous.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4