]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/progmodes/flymake.el (flymake-mode): Fix 'cond'.
authorEli Zaretskii <eliz@gnu.org>
Sun, 17 Sep 2023 16:35:30 +0000 (19:35 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 17 Sep 2023 16:35:30 +0000 (19:35 +0300)
lisp/progmodes/flymake.el

index 036af806e60747e1370b811e757d02d0a4b4ccd2..b044a6619110efea4efdd01c4d76ca02bcadeb9c 100644 (file)
@@ -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.