• Noam Postavsky's avatar
    Mention new strictness for &optional, &rest in arglists (Bug#29165) · e7b11111
    Noam Postavsky authored
    * 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.
    e7b11111
NEWS 72 KB