bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26486: 25.1.91; unused var warning from cconv.el can't be suppressed


From: Lars Ingebrigtsen
Subject: bug#26486: 25.1.91; unused var warning from cconv.el can't be suppressed
Date: Tue, 06 Jul 2021 22:03:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"Basil L. Contovounesios" <contovob@tcd.ie> writes:

> I suspect this patch causes the following:
>
> $ cat foo.el
> ;;; foo.el --- foo -*- lexical-binding: t -*-
> (let ())
> ;;; foo.el ends here
> $ emacs -Q -script foo.el
> Eager macro-expansion failure: (void-function byte-compile-warning-enabled-p)

Yup.  The function is used elsewhere in macroexp, too, but there it's
guarded by an fboundp.

I think we should probably consider moving that function (and the
variables defined by it) somewhere else (perhaps a new file), because it
seems the requiring going on there is sort of in an odd direction.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]