Byte compiler: Catch missing argument to `funcall'. Fixes bug#22051.
commit5cf012a3a86e700b5f229fc14d9abd1e27fdb5f4
authorAlan Mackenzie <acm@muc.de>
Sun, 29 Nov 2015 16:17:07 +0000 (29 16:17 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 29 Nov 2015 16:17:07 +0000 (29 16:17 +0000)
tree007fed106f1882801496e684bba53ed8e6ebb65a
parentca6edca2429c01dd7905c0de835bbdb23754b754
Byte compiler: Catch missing argument to `funcall'.  Fixes bug#22051.

* lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
to `funcall', (i) Output an error message; (ii) Generate code to signal a
`wrong-number-of-arguments' error.
lisp/emacs-lisp/bytecomp.el