[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19699: 25.0.50; lexical-let + mapcar cause infloop
From: |
Katsumi Yamaoka |
Subject: |
bug#19699: 25.0.50; lexical-let + mapcar cause infloop |
Date: |
Wed, 28 Jan 2015 08:55:39 +0900 |
User-agent: |
Gnus/5.130012 (真 Gnus v0.12) Emacs/25.0.50 (i686-pc-cygwin) |
On Tue, 27 Jan 2015 17:06:44 +0900, Katsumi Yamaoka wrote:
> A Lisp form that uses `lexical-let' and `mapcar' (or `mapc'),
> like this, cannot be evaluated nor byte-compiled because it
> looks like causing an infinite loop[1].
Oops, this is my fault that was made as the revno
<1fe087a1ab4182b2e6c1d05444461acc4e78e2d8> in cl.el.
> (defun testing ()
> (lexical-let (var)
> (mapcar #'identity '("Hello" "World"))))
The cause of the infinite loop is that the macro expander tries
to expand #'foo again and again. Fixed.