Upgraded emacs to 28.2, flycheck fails: undefined elisp macros

79 Views Asked by At

I just upgraded to emacs 28.2 and my flycheck stopped working. When it loaded it got an error

File mode specification error: (void-function -doto)

I found -doto in elpa/dash, which was installed when flycheck was upgraded. It does not get loaded automatically, and when I load it manually and try using flycheck there is a similar error

while loading: (void-function -compose)

This one I can't find, it does not seem to be anywhere on my system.

The emacs is a new install, packages were all installed with melpa I've reloaded flycheck (version 32) from melpa-stable. -compose is used in a few of the files in lhp-mode, which was also just installed.

Any suggestions?

1

There are 1 best solutions below

0
russell On

Solved by Rorschach in a comment, it was a version issue. After deleting an old version of dash.el in my load path it worked.