I have configured flyspell mode with use-package like this:

(use-package flyspell-mode
    (flyspell-mode 1))
    (setq ispell-program-name "aspell")
    (setq ispell-list-command "--list") ;; run flyspell with aspell, not ispell

But this gives me the following message while starting up Emacs in *Messages* buffer:

Could not load package flyspell-mode

Although if I manually give this command flyspell-mode, it works.

1 Answer 1


The package name is flyspell instead of flyspell-mode, so the 1st argument of use-package is flyspell.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.