GNU bug report logs - #69120
Spurious "function is not known to be defined" if defined in `use-package` body

Previous Next

Package: emacs;

Reported by: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>

Date: Wed, 14 Feb 2024 11:17:02 UTC

Severity: normal

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>
Cc: 69120 <at> debbugs.gnu.org
Subject: Re: bug#69120: Spurious "function is not known to be defined" if
 defined in `use-package` body
Date: Wed, 14 Feb 2024 18:07:45 +0200
> From: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>
> Cc: 69120 <at> debbugs.gnu.org
> Date: Wed, 14 Feb 2024 18:28:15 +0300
> 
> > >     test.el:6:4: Warning: the function ‘hello’ is not known to be
> > > defined.
> > 
> > What do you get if you macro-expand your code?
> 
> Wrapping the above code to a `(macroexpand …)` gives a:
> 
>    "hello"
>    nil

You need to quote the form you pass to macroexpand, to get the
expansion, I think.




This bug report was last modified 1 year and 125 days ago.

Previous Next


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