diff --git a/lisp/progmodes/flymake-cc.el b/lisp/progmodes/flymake-cc.el index 1b449bd0793..5733ef4d666 100644 --- a/lisp/progmodes/flymake-cc.el +++ b/lisp/progmodes/flymake-cc.el @@ -72,7 +72,8 @@ SOURCE." '(("error" . :error) ("note" . :note) ("warning" . :warning)) - #'string-match)) + #'string-match + :error)) collect (flymake-make-diagnostic source beg end type msg))) (defun flymake-cc-use-special-make-target ()