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

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

Re: The function ‘cl-set-difference’ might not be defined at runtime


From: Noam Postavsky
Subject: Re: The function ‘cl-set-difference’ might not be defined at runtime
Date: Tue, 14 Apr 2020 15:43:41 -0400

On Tue, 14 Apr 2020 at 15:17, Jorge P. de Morais Neto
<jorge+list@disroot.org> wrote:

> Yes, `(require 'cl-lib)` at top level placates Flycheck.  But for the
> last drop of efficiency, I tried to `(require 'cl-lib)` inside the body
> of the function that calls cl-set-difference, and put at the top level:
>
> (declare-function cl-set-difference "cl-seq" (list1 list2 &rest cl-keys))
>
> That does not placate Flycheck though.  Do you know why?

Works here for placating the byte-compiler, which as far as I know is
what Flycheck runs.



reply via email to

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