0

I try to use the flycheck package which I installed through the package-list.

Following advices from here I added this line to my .emacs:

(require 'flycheck)

Now I get the following error when starting emacs:

Warning (initialization): An error occurred while loading `~/.emacs':

File error: Cannot open load file, no file or folder of this type, flycheck

Is this line no longer required? Should I add other lines instead?

Thanks in advance.

Zach
  • 600
  • 5
  • 16

1 Answers1

0

Ok following flycheck documentation I installed the package "use-package" and added the following to my config file:

(use-package flycheck
  :ensure t
  :init (global-flycheck-mode))

Now it works.

Zach
  • 600
  • 5
  • 16