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

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

bug#40596: 28.0.50; Function with more than one key gives "wrong number


From: Drew Adams
Subject: bug#40596: 28.0.50; Function with more than one key gives "wrong number of arguments" error
Date: Mon, 13 Apr 2020 08:01:33 -0700 (PDT)

> I think it interprets &key as a name of a simple argument.

This can be a gotcha, for someone coming from
another Lisp dialect that supports lambda lists
with &key.

Perhaps Emacs Lisp could post a warning (e.g. from
the byte-compiler) if a lambda list uses one of the
`&' keywords supported by, say, Common Lisp (&key,
&aux, &allow-other-keys)?





reply via email to

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