use-package icon indicating copy to clipboard operation
use-package copied to clipboard

Flymake reports an error on require.

Open grolongo opened this issue 4 years ago • 1 comments

Hello, despite having a functional use-package, Flymake reports an error on the line:

(eval-when-compile (require 'use-package))

Error message mentions: "Cannot open load file: No such file or directory, use-package"

Is this normal? I'm using the official GNU Emacs 27.1 build on Windows 10.

grolongo avatar Aug 28 '20 17:08 grolongo

I don't see it, but please check some flycheck variables to find use-package. https://www.flycheck.org/en/latest/languages.html#emacs-lisp one point, you use eval-when-compile to require, so Emacs should find use-package in compiler time.

conao3 avatar Feb 22 '21 14:02 conao3

It seems like this is an issue with flymake, so I'm closing this.

skangas avatar Nov 13 '22 19:11 skangas