From c3a70845736af2af242abcbf518037ed82ed9215 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'. (cherry picked from commit 16453ed611b9d3be315a552c482848d1c9b1ce0e) --- 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 47dc32f9245..4ebd6ccfd3c 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -1187,9 +1187,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