]> git.eshelyaron.com Git - emacs.git/commitdiff
flymake.el: Cosmetics
authorEshel Yaron <me@eshelyaron.com>
Sat, 19 Oct 2024 07:50:41 +0000 (09:50 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 19 Oct 2024 07:50:41 +0000 (09:50 +0200)
lisp/progmodes/flymake.el

index 10572c89eba44fb25f5c552a41939df2b4c748ef..95879ea338e48ec6fe9ebf2368bf1cb1ae4b3c8d 100644 (file)
@@ -1755,9 +1755,8 @@ default) no filter is applied."
                                                  (flymake-diagnostic-type diag))
                                                 filter :key #'flymake--severity)))
                collect o into retval
-               finally (cl-return
-                        (cl-sort retval (if (cl-plusp n) #'< #'>)
-                                 :key #'overlay-start))))
+               finally return (cl-sort retval (if (cl-plusp n) #'< #'>)
+                                       :key #'overlay-start)))
          (tail (cl-member-if (lambda (ov)
                                (if (cl-plusp n)
                                    (> (overlay-start ov)
@@ -1782,7 +1781,8 @@ default) no filter is applied."
            (user-error "No more Flymake diagnostics%s"
                        (if filter
                            (format " of %s severity"
-                                   (mapconcat #'symbol-name filter ", ")) ""))))))
+                                   (mapconcat #'symbol-name filter ", "))
+                         ""))))))
 
 (defun flymake-goto-prev-error (&optional n filter interactive)
   "Go to Nth previous Flymake diagnostic that matches FILTER.