Subject: Re: bug#73596: 29.4; empty (let) does not signal an error

From: Andreas Schwab <[email-masked]>
Date: Sat, 12 Oct 2024 16:21:23 +0200

On Okt 12 2024, Ulrich Mueller wrote:

> (func-arity 'let)  ⇒  (1 . unevalled)
>
> Shouldn't this be updated to return (0 . unevalled) when empty (let)
> is allowed?

$ emacs -batch -eval '(let)'

Error: wrong-number-of-arguments (let 0)
  (let)
  eval((let) t)
  command-line-1(("-eval" "(let)"))
  command-line()
  normal-top-level()
Wrong number of arguments: let, 0

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."