GNU bug report logs - #77048
30.1; Macro `cl-load-time-value` malfunctioning at compile-time and runtime

Previous Next

Package: emacs;

Reported by: Bohong Huang <bohonghuang <at> qq.com>

Date: Sun, 16 Mar 2025 12:10:03 UTC

Severity: normal

Found in version 30.1

Full log


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

From: Bohong Huang <bohonghuang <at> qq.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 77048 <at> debbugs.gnu.org
Subject: Re: bug#77048: 30.1; Macro `cl-load-time-value` malfunctioning at
 compile-time and runtime
Date: Sun, 16 Mar 2025 20:56:10 +0800
`lexical-binding` is enabled for sure, which is, IMO, exactly why the
compiler deems `--cl-load-time--0` a free variable. This issue can be
reproduced by inserting `(cl-load-time-value t)` in any existing `.el`
file with lexical binding enabled.

Eli Zaretskii <eliz <at> gnu.org> writes:

> I'm guessing your Lisp file doesn't have the lexical-binding cookie.
> If it did, you should have seen a different warning.





This bug report was last modified 90 days ago.

Previous Next


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