[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43586: Flymake can't understand `cl-loop' and `if-let*'.
From: |
ej32u |
Subject: |
bug#43586: Flymake can't understand `cl-loop' and `if-let*'. |
Date: |
Sat, 26 Sep 2020 00:24:32 +0000 |
Thank you, I had missed adding those.
On 9/24/20 10:44 AM, Lars Ingebrigtsen wrote:
> ej32u@protonmail.com writes:
>
>> Flymake is giving many errors, for a command that I believe works. This
>> happens
>> with a clean init file.
> [...]
>
>> Here are some of the errors Flymake reports:
>>
>> 19 0 warning Unused lexical variable ‘formatted-bookmarks’
>> 22 3 warning ‘(chosen-cand (selectrum-read "Bookmark: "
> [...]
>
>> You can see that it is treating key words as variables in `cl-loop', and
>> cannot
>> see that `actual-data' is defined in `if-let*'. The command works fine when
>> evaluated.
> Do the warnings go away if you put
>
> (require 'cl-lib)
> (require 'subr-x)
>
> in your file?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no