GNU bug report logs - #26406
26.0.50; 'function' fails as variable name inside lexical-let

Previous Next

Package: emacs;

Reported by: David Bremner <david <at> tethera.net>

Date: Sat, 8 Apr 2017 16:53:02 UTC

Severity: normal

Merged with 26325

Found in version 26.0.50

Done: Tino Calancha <tino.calancha <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 26406-done <at> debbugs.gnu.org (full text, mbox):

From: Tino Calancha <tino.calancha <at> gmail.com>
To: 26406-done <at> debbugs.gnu.org
Subject: Re: bug#26406: 26.0.50;
 'function' fails as variable name inside lexical-let
Date: Sat, 22 Apr 2017 18:46:34 +0900
Tino Calancha <tino.calancha <at> gmail.com> writes:

> David Bremner <david <at> tethera.net> writes:
>
>> 0) Put the following elisp in a file called e.g. test.el
>> (eval-when-compile (require 'cl))
>> (defun my-fun (function)
>>   (lexical-let ((x 1))
>>     (funcall function)))
>>
>> 1) run "emacs -Q --batch -f batch-byte-compile test.el"
>>
>> 2) Observe the following unhelpful error message
>>
>> In toplevel form:
>> test.el:2:1:Error: Wrong type argument: listp, cl--function-convert
> Confirmed.
> This is similar as Bug#26325.  Both are caused by commit
> 0d112c00ba0ec14bd3014efcd3430b9ddcfe1fc1
Fixed by commit 89898e43c7ceef28bb3c2116b4d8a3ec96d9c8da




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

Previous Next


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