From 16453ed611b9d3be315a552c482848d1c9b1ce0e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 17 Sep 2023 19:35:30 +0300 Subject: [PATCH] ; * lisp/progmodes/flymake.el (flymake-mode): Fix 'cond'. --- lisp/progmodes/flymake.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 036af806e60..b044a661911 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -1295,9 +1295,9 @@ special *Flymake log* buffer." :group 'flymake :lighter (when flymake--state (maphash (lambda (_backend state) (flymake--clear-foreign-diags state)) - flymake--state))) + flymake--state)))) ;; turning Flymake on or off has consequences for listings - (flymake--update-diagnostics-listings (current-buffer)))) + (flymake--update-diagnostics-listings (current-buffer))) (defun flymake--schedule-timer-maybe () "(Re)schedule an idle timer for checking the buffer. -- 2.39.2