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/msg00749.html below:

Re: get nargs for a function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Stefan Monnier Subject: Re: get nargs for a function Date: Sat, 29 Aug 2015 22:22:28 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
> (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'.


        Stefan




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