From: Eli Zaretskii Date: Sun, 17 Sep 2023 16:35:30 +0000 (+0300) Subject: ; * lisp/progmodes/flymake.el (flymake-mode): Fix 'cond'. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=16453ed611b9d3be315a552c482848d1c9b1ce0e;p=emacs.git ; * lisp/progmodes/flymake.el (flymake-mode): Fix 'cond'. --- 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.