[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#23873: Emacs 24.0.94: With function argdesc bitstring, Elisp man
From: |
Robert Weiner |
Subject: |
Re: bug#23873: Emacs 24.0.94: With function argdesc bitstring, Elisp manual does not say how to get arg list |
Date: |
Thu, 30 Jun 2016 11:46:16 -0400 |
On Thu, Jun 30, 2016 at 10:11 AM, Robert Weiner <address@hidden> wrote:
> I would suggest that the documentation be updated to describe how to
> get the argument signature in this situation, as it is silent on that.
For years, XEmacs has had functions for accessing parts of
byte-compiled code. It would be great if Emacs had some equivalents.
Below is the documentation on those functions from the XEmacs Lisp Manual:
The following primitives are provided for accessing the elements of a
compiled-function object.
Function: compiled-function-arglist function
This function returns the argument list of compiled-function object function.
Function: compiled-function-instructions function
This function returns a string describing the byte-code instructions
of compiled-function object function.
Function: compiled-function-constants function
This function returns the vector of Lisp objects referenced by
compiled-function object function.
Function: compiled-function-stack-depth function
This function returns the maximum stack size needed by
compiled-function object function.
Function: compiled-function-doc-string function
This function returns the doc string of compiled-function object
function, if available.
Function: compiled-function-interactive function
This function returns the interactive spec of compiled-function
object function, if any. The return value is nil or a two-element
list, the first element of which is the symbol interactive and the
second element is the interactive spec (a string or Lisp form).
Function: compiled-function-domain function
This function returns the domain of compiled-function object
function, if any. The result will be a string or nil.