GNU bug report logs - #59714
30.0.50; (void-function cl-letf)

Previous Next

Package: emacs;

Reported by: Manuel Uberti <manuel.uberti <at> inventati.org>

Date: Wed, 30 Nov 2022 06:47:02 UTC

Severity: normal

Tags: notabug

Found in version 30.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Augusto Stoffel <arstoffel <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 59714 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, Manuel Uberti <manuel.uberti <at> inventati.org>
Subject: bug#59714: 30.0.50; (void-function cl-letf)
Date: Wed, 30 Nov 2022 21:13:10 +0100
On Wed, 30 Nov 2022 at 14:45, Stefan Monnier wrote:

>> So you must (require 'cl-lib) to be able to use cl-letf.
>
> Definitely.
> The `cl-loaddefs.el` is used to autoload things *after* that step, so
> that loading `cl-lib` doesn't need to eagerly load all the files that
> comprise `cl-lib`.

Okay, that explains many things...  FWIW, it has always confused me that
C-h f cl-letf RET says

    cl-letf is an autoloaded Lisp macro in ‘cl-macs.el’.

From a user perspective, the autoloadedness claim is definitely less
than 50% true.




This bug report was last modified 2 years and 230 days ago.

Previous Next


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