GNU bug report logs - #27325
Using '&rest' without a trailing parameter causes an error in emacs 26.0.50

Previous Next

Package: emacs;

Reported by: isaac lewis <isaac.b.lewis <at> gmail.com>

Date: Sun, 11 Jun 2017 07:24:02 UTC

Severity: minor

Tags: notabug, wontfix

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: isaac lewis <isaac.b.lewis <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Using '&rest' without a trailing parameter causes an error in emacs
 26.0.50
Date: Sun, 11 Jun 2017 03:22:56 -0400
If my understanding is correct, the functions (lambda (&rest) t)
and (lambda () t) should behave similarly.

In emacs 25:

(equal (apply (lambda (&rest) t) nil)
           (apply (lambda () t) nil))
=>
t

as expected.  But evaluating the same sexp in emacs 26.0.50
causes an error.

--
Isaac Lewis




This bug report was last modified 8 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.