diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-11-13 12:46:13 -0500 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-12-13 17:31:27 -0500 |
commit | e7b1111155b3116d0c7b137e0e1d312db0f1ca80 (patch) | |
tree | 30240245d971e634ed1ec0f60733fe6dde2e1421 /test/lisp/emacs-lisp/regexp-opt-tests.el | |
parent | 4cb8696e4754d815efd5fd5e26f2b6b2567a11fe (diff) | |
download | emacs-e7b1111155b3116d0c7b137e0e1d312db0f1ca80.tar.gz emacs-e7b1111155b3116d0c7b137e0e1d312db0f1ca80.tar.bz2 emacs-e7b1111155b3116d0c7b137e0e1d312db0f1ca80.zip |
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.
Diffstat (limited to 'test/lisp/emacs-lisp/regexp-opt-tests.el')
0 files changed, 0 insertions, 0 deletions