]> git.eshelyaron.com Git - emacs.git/commit
Mention new strictness for &optional, &rest in arglists (Bug#29165)
authorNoam Postavsky <npostavs@gmail.com>
Mon, 13 Nov 2017 17:46:13 +0000 (12:46 -0500)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 13 Dec 2017 22:31:27 +0000 (17:31 -0500)
commite7b1111155b3116d0c7b137e0e1d312db0f1ca80
tree30240245d971e634ed1ec0f60733fe6dde2e1421
parent4cb8696e4754d815efd5fd5e26f2b6b2567a11fe
Mention new strictness for &optional, &rest in arglists (Bug#29165)

* etc/NEWS: Explain that '&optional' not followed by a variable is now
an error.
* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda, cl--do-&aux)
(cl--do-arglist): Also reject '&optional', '&rest', or '&aux' not
followed by a variable for consistency.
* test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-bad-arglist): New
test.
etc/NEWS
lisp/emacs-lisp/cl-macs.el
test/lisp/emacs-lisp/cl-macs-tests.el