GNU bug report logs -
#59714
30.0.50; (void-function cl-letf)
Previous Next
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
> Date: Wed, 30 Nov 2022 07:45:51 +0100
> From: Manuel Uberti via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> - emacs -Q
> - Evaluate: (cl-letf (((default-value 'process-environment) nil)))
> - You see the following error:
>
> Debugger entered--Lisp error: (void-function cl-letf)
> (cl-letf (((default-value 'process-environment) nil)))
> (progn (cl-letf (((default-value 'process-environment) nil))))
> eval((progn (cl-letf (((default-value 'process-environment) nil)))) t)
> elisp--eval-last-sexp(nil)
> eval-last-sexp(nil)
> funcall-interactively(eval-last-sexp nil)
> call-interactively(eval-last-sexp nil nil)
> command-execute(eval-last-sexp)
I don't understand how autoloading macros or functions from cl-lib could
work as the above expects. The autoload forms of these functions and macros
are written to cl-loaddefs.el, but the only file that loads cl-loaddefs.el
is cl-lib itself. So you must (require 'cl-lib) to be able to use cl-letf.
Stefan, did I miss something?
This bug report was last modified 2 years and 174 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.