[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: |
Štěpán Němec |
Subject: |
Re: The function ‘cl-set-difference’ might not be defined at runtime |
Date: |
Tue, 14 Apr 2020 22:21:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Tue, 14 Apr 2020 15:43:41 -0400
Noam Postavsky 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.
Indeed. Works for me, too (with Flycheck, even).
Jorge, are you sure the warning you get is about `cl-set-difference' not
being defined and not something else?
--
Štěpán
- The function ‘cl-set-difference’ might not be defined at runtime, Jorge P. de Morais Neto, 2020/04/14
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Štěpán Němec, 2020/04/14
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Jorge P . de Morais Neto, 2020/04/14
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Noam Postavsky, 2020/04/14
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Štěpán Němec, 2020/04/14
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Jorge P . de Morais Neto, 2020/04/14
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Noam Postavsky, 2020/04/14
- Re: The function ‘cl-set-difference’ might not be defined at runtime,
Štěpán Němec <=
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Jorge P . de Morais Neto, 2020/04/14
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Stefan Monnier, 2020/04/15
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Emanuel Berg, 2020/04/15
- Message not available
- ;; Local variables: (was: Re: The function ‘cl-set-difference’ might not be defined at runtime), Emanuel Berg, 2020/04/15
- Re: ;; Local variables: (was: Re: The function ‘cl-set-difference’ might not be defined at runtime), tomas, 2020/04/15
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Jorge P . de Morais Neto, 2020/04/15
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Noam Postavsky, 2020/04/15
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Stefan Monnier, 2020/04/14
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Jorge P . de Morais Neto, 2020/04/14
- Re: The function ‘cl-set-difference’ might not be defined at runtime, Stefan Monnier, 2020/04/15