bug-hyperbole
[Top][All Lists]
Advanced

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

bug#23873: Emacs 24.0.94: With function argdesc bitstring, Elisp manual


From: Robert Weiner
Subject: bug#23873: Emacs 24.0.94: With function argdesc bitstring, Elisp manual does not say how to get arg list
Date: Fri, 1 Jul 2016 10:24:36 -0400

On Fri, Jul 1, 2016 at 10:01 AM, Drew Adams <address@hidden> wrote:
> (condition-case nil
>     (funcall cmd arg)         ; Try to use string candidate `arg'.
>   ;; If that didn't work, use a symbol or number candidate.
>   (wrong-type-argument (funcall cmd (car (read-from-string arg))))
>   (wrong-number-of-arguments (funcall #'icicle-help-on-candidate))) ; Punt

Thanks, Drew.  I had thought of that but was able to add a conditional
to catch the case of an argdescriptor rather than a list of arguments
and avoid the error but I still would like to be able to just get the
original argument signature from a function call every time.

Bob





reply via email to

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