]> git.eshelyaron.com Git - emacs.git/commit
Implement 'func-arity'
authorPaul Pogonyshev <pogonyshev@gmail.com>
Sat, 26 Mar 2016 08:19:43 +0000 (11:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 26 Mar 2016 08:19:43 +0000 (11:19 +0300)
commit6f3243db55e61847784178ea812f28ddf003544a
treee2bbb4e4c3a49ab661524135c6b1a610580431b8
parent368b9bb45f125061506d43af4bd4791ab2cfd7b9
Implement 'func-arity'

* src/eval.c (Ffunc_arity, lambda_arity): New functions.
* src/bytecode.c (get_byte_code_arity): New function.
* src/lisp.h (get_byte_code_arity): Add prototype.

* doc/lispref/functions.texi (What Is a Function): Document
'func-arity'.

* etc/NEWS: Mention 'func-arity'.

* test/src/fns-tests.el (fns-tests-func-arity): New test set.
doc/lispref/functions.texi
etc/NEWS
src/bytecode.c
src/eval.c
src/lisp.h
test/src/fns-tests.el