]> git.eshelyaron.com Git - emacs.git/commit
func-arity minor improvements
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 27 Mar 2016 02:24:25 +0000 (19:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 27 Mar 2016 02:24:46 +0000 (19:24 -0700)
commitbc9cc21d34ae71dc38bd20f224c4b3ac073bcb50
tree259f54589caf61669955e0708b6800101db465b2
parentefb1883244f551cfb43fa9d85e3df8cc334fb232
func-arity minor improvements

* src/bytecode.c (get_byte_code_arity): Omit unnecessary
runtime test for integer argument, unless debugging.
Use EMACS_INT for Emacs integers.
* src/eval.c (Ffunc_arity): Omit unused locals.
Avoid side effects in ‘if’ expr.
(lambda_arity): Use bool for boolean, and EMACS_INT for Emacs ints.
src/bytecode.c
src/eval.c