]> git.eshelyaron.com Git - emacs.git/commit
Byte compiler: on setq with an odd number of arguments, generate a `signal'
authorAlan Mackenzie <acm@muc.de>
Thu, 26 Nov 2015 10:36:32 +0000 (10:36 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 26 Nov 2015 10:36:32 +0000 (10:36 +0000)
commit5d93a89e805baa2f29941fd801e48235f6c1a6b6
treed8bb921b2d2a9185aab21ae0165518fd9f8f378c
parent768b6f67746d2ba8407eb264c4b2d5c8ca011f58
Byte compiler: on setq with an odd number of arguments, generate a `signal'

* lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
it has an odd number of arguments, to allow bytecomp to handle the error.

* lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
odd number of arguments, generate a `signal' instead of the normal code.
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/cconv.el