Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong-type-argument error while enabling rustic-mode #586

Open
katyo opened this issue Jan 22, 2025 · 0 comments
Open

wrong-type-argument error while enabling rustic-mode #586

katyo opened this issue Jan 22, 2025 · 0 comments

Comments

@katyo
Copy link

katyo commented Jan 22, 2025

After updating emacs to v31.0.50 I have the following error:

Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
  flymake-mode(0)
  flymake-mode-off()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook rust-mode-hook rustic-mode-hook)
  apply(run-hooks change-major-mode-after-body-hook (prog-mode-hook rust-mode-hook rustic-mode-hook))
  run-mode-hooks(rustic-mode-hook)
  ...

I commented out the following line to solve it:

(add-hook 'rustic-mode-hook 'flymake-mode-off)

I think It will be better do check that flymake really installed and enabled to disable it than this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant