[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43586: Flymake can't understand `cl-loop' and `if-let*'.
From: |
Lars Ingebrigtsen |
Subject: |
bug#43586: Flymake can't understand `cl-loop' and `if-let*'. |
Date: |
Thu, 24 Sep 2020 16:44:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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