bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27325: Using '&rest' without a trailing parameter causes an error in


From: Philipp Stephani
Subject: bug#27325: Using '&rest' without a trailing parameter causes an error in emacs 26.0.50
Date: Sun, 11 Jun 2017 08:15:27 +0000



isaac lewis <address@hidden> schrieb am So., 11. Juni 2017 um 09:24 Uhr:
If my understanding is correct, the functions (lambda (&rest) t)
and (lambda () t) should behave similarly.

From where did you get this understanding? The Elisp manual says about &rest:
"To specify a list of zero or more extra arguments, include the
keyword &rest before one final argument."
and
"The keyword &rest (which must be followed by a single
argument name) indicates that any number of arguments can follow."
i.e. the parameter after &rest isn't optional.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]