[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Flymake for elisp does not respect `load-path`
From: |
Philip Kaludercic |
Subject: |
Re: Flymake for elisp does not respect `load-path` |
Date: |
Sat, 15 May 2021 23:20:15 +0000 |
Max Brieiev <max.brieiev@gmail.com> writes:
> In elisp buffer, flymake reports an error for the following line:
>
> (require 'dash)
>
> The reported error is "Cannot open load file: No such file or directory,
> dash".
>
> dash is obviously on `load-path`. How can I make flymake happy?
Have you tried wrapping the require statement in a (eval-and-load ...)
block? I had the same issue with loading site-local files in my
configuration.
--
Philip K.