]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't log "emergencies" in the Flymake legacy backend
authorJoão Távora <joaotavora@gmail.com>
Tue, 10 Oct 2017 11:30:42 +0000 (12:30 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 10 Oct 2017 12:08:41 +0000 (13:08 +0100)
* lisp/progmodes/flymake-proc.el (flymake-proc--panic)
(flymake-proc-legacy-flymake): Don't log "emergencies"

lisp/progmodes/flymake-proc.el

index 52cb198532711cebbcb47f29a5232203a1d02728..ab60855b2172065dc7a557f1f6e50776f185f91d 100644 (file)
@@ -626,7 +626,7 @@ Create parent directories as needed."
   "Tell Flymake UI about a fatal PROBLEM with this backend.
 May only be called in a dynamic environment where
 `flymake-proc--report-fn' is bound."
-  (flymake-log 0 "%s: %s" problem explanation)
+  (flymake-log 1 "%s: %s" problem explanation)
   (if (and (boundp 'flymake-proc--report-fn)
            flymake-proc--report-fn)
       (funcall flymake-proc--report-fn :panic
@@ -766,7 +766,7 @@ can also be executed interactively independently of
           (unwind-protect
               (cond
                ((not cmd-and-args)
-                (flymake-log 0 "init function %s for %s failed, cleaning up"
+                (flymake-log 1 "init function %s for %s failed, cleaning up"
                              init-f buffer-file-name))
                (t
                 (setq proc