From: Eshel Yaron Date: Sat, 19 Oct 2024 07:50:41 +0000 (+0200) Subject: flymake.el: Cosmetics X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=89196f1d266c12830689548d6a80d51aa262c418;p=emacs.git flymake.el: Cosmetics --- diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 10572c89eba..95879ea338e 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -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.