emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 1625fc1 2/5: Don't create nil-severity diagnostics


From: João Távora
Subject: [Emacs-diffs] master 1625fc1 2/5: Don't create nil-severity diagnostics in the Flymake C/C++ backend
Date: Tue, 2 Jul 2019 12:11:06 -0400 (EDT)

branch: master
commit 1625fc184bebf0ce3c2782563aaa4029cdc95f3d
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    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.
---
 lisp/progmodes/flymake-cc.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/flymake-cc.el b/lisp/progmodes/flymake-cc.el
index 1b449bd..5733ef4 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]