Fix #172: invalid format argument order in flymake.

This commit is contained in:
Vincent Zhang 2019-05-15 18:26:24 +08:00
parent 450aca5fbd
commit 1c5520de94

View file

@ -900,9 +900,9 @@ mouse-2: Show help for minor mode"
(all-disabled "All Checkers Disabled") (all-disabled "All Checkers Disabled")
(t (format "error: %d, warning: %d, note: %d (t (format "error: %d, warning: %d, note: %d
mouse-1: List all problems%s" mouse-1: List all problems%s"
.error .warning .note
(if (featurep 'mwheel) (if (featurep 'mwheel)
"\nwheel-up/wheel-down: Previous/next problem") "\nwheel-up/wheel-down: Previous/next problem"))))
.error .warning .note)))
'mouse-face 'mode-line-highlight 'mouse-face 'mode-line-highlight
'local-map (let ((map (make-sparse-keymap))) 'local-map (let ((map (make-sparse-keymap)))
(define-key map [mode-line mouse-1] (define-key map [mode-line mouse-1]