]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/flymake.el (flymake--mode-line-title): Don't quote lambda
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 1 Aug 2021 22:08:01 +0000 (18:08 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 1 Aug 2021 22:08:01 +0000 (18:08 -0400)
lisp/progmodes/flymake.el

index e10602ab0814231817534e2b6a6cd66110d1181f..77a807f21aef104fd52c87444262757b5041ceae 100644 (file)
@@ -1245,13 +1245,13 @@ correctly.")
     "Flymake"
     mouse-face mode-line-highlight
     help-echo
-    (lambda (&rest whatever)
-      (concat
-       (format "%s known backends\n" (hash-table-count flymake--backend-state))
-       (format "%s running\n" (length (flymake-running-backends)))
-       (format "%s disabled\n" (length (flymake-disabled-backends)))
-       "mouse-1: Display minor mode menu\n"
-       "mouse-2: Show help for minor mode"))
+    ,(lambda (&rest _)
+       (concat
+        (format "%s known backends\n" (hash-table-count flymake--backend-state))
+        (format "%s running\n" (length (flymake-running-backends)))
+        (format "%s disabled\n" (length (flymake-disabled-backends)))
+        "mouse-1: Display minor mode menu\n"
+        "mouse-2: Show help for minor mode"))
     keymap
     ,(let ((map (make-sparse-keymap)))
        (define-key map [mode-line down-mouse-1]