diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-12-15 23:20:25 -0500 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-12-15 23:41:20 -0500 |
commit | 777fe9466168d935e9055c7592b943cd4d2d2ff9 (patch) | |
tree | 7ca50e3ebaa3c76da75f129ed8019324b6375267 /lisp/emacs-lisp/eieio-datadebug.el | |
parent | ad17db7964a1022fb0f646b35a00ffc5fb70ec30 (diff) | |
download | emacs-777fe9466168d935e9055c7592b943cd4d2d2ff9.tar.gz emacs-777fe9466168d935e9055c7592b943cd4d2d2ff9.tar.bz2 emacs-777fe9466168d935e9055c7592b943cd4d2d2ff9.zip |
Partially revert "Mention new strictness for &optional, &rest..."
The changes to cl argument parsing are not backwards compatible, and
cause inconvenience when writing macros (e.g., instead of doing '&aux
,@auxargs', some more complicated conditionals would be required).
The `cl-defstruct' macro makes use of this convenience when defining
empty structs (Bug#29728).
* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
(cl--do-&aux, cl--do-arglist): Undo strict checking of &rest, &key,
and &aux.
* test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-bad-arglist): Remove
test.
Diffstat (limited to 'lisp/emacs-lisp/eieio-datadebug.el')
0 files changed, 0 insertions, 0 deletions