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