]> git.eshelyaron.com Git - emacs.git/commit
Flymake: fix bug introduced recently
authorJoão Távora <joaotavora@gmail.com>
Fri, 17 Jan 2025 10:57:46 +0000 (10:57 +0000)
committerEshel Yaron <me@eshelyaron.com>
Fri, 17 Jan 2025 11:49:20 +0000 (12:49 +0100)
commit11eb4ac32e56f37e4a61f1562938d9e09ac09338
treed84bfda398fd7d64165d88a2482fc2fe9d6a4370
parent3f6069db6492eaf455730700c529887721afc6b8
Flymake: fix bug introduced recently

Must protect against flymake--state never having been a hash
table at all, so that flymake-mode can be safely turned off even
if it never turned on in the first place.

Github-reference: https://github.com/joaotavora/eglot/discussions/1480

* lisp/progmodes/flymake.el (flymake-mode): Fix bug.

(cherry picked from commit f7ff5f1ba4e87596cb4e055492b0e99321fd9950)
lisp/progmodes/flymake.el