1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00
emacs/doc
Mattias Engdegård ed02b88bba Renege on anonymous &rest (bug#50268, bug#50720)
Allowing &rest without a variable name following turned out not to be
very useful, and it never worked properly.  Disallow it.

* lisp/emacs-lisp/bytecomp.el (byte-compile-check-lambda-list):
* src/eval.c (funcall_lambda):
Signal error for &rest without variable name.
* doc/lispref/functions.texi (Argument List): Adjust manual.
* etc/NEWS (file): Announce.
* test/src/eval-tests.el (eval-tests--bugs-24912-and-24913):
Extend test, also checking with and without lexical binding.
(eval-tests-accept-empty-optional-rest): Reduce to...
(eval-tests-accept-empty-optional): ...this, again checking
with and without lexical binding.
2021-09-25 20:25:01 +02:00
..
emacs ; Fix omission in recent CONTRIBUTE doc change. 2021-09-25 14:41:24 +01:00
lispintro Prefer "website" to "homepage" 2021-09-16 15:42:44 +02:00
lispref Renege on anonymous &rest (bug#50268, bug#50720) 2021-09-25 20:25:01 +02:00
man * doc/man/emacs.1.in: Minor fixes. 2021-06-08 02:00:29 +02:00
misc ; Fix typo in ert.texi 2021-09-25 18:50:32 +02:00