mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-17 05:51:24 +00:00
Don't create nil-severity diagnostics in the Flymake C/C++ backend
* lisp/progmodes/flymake-cc.el (flymake-cc--make-diagnostics): Use `:error` as a diagnostic severity.
This commit is contained in:
parent
f75e68fc9b
commit
1625fc184b
1 changed files with 2 additions and 1 deletions
|
|
@ -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 ()
|
||||
|
|
|
|||
Loading…
Reference in a new issue