From 3dfa2ca4dc471412a8b5442357d5d4bec6611f3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Tue, 10 Oct 2017 12:30:42 +0100 Subject: [PATCH] Don't log "emergencies" in the Flymake legacy backend * lisp/progmodes/flymake-proc.el (flymake-proc--panic) (flymake-proc-legacy-flymake): Don't log "emergencies" --- lisp/progmodes/flymake-proc.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/flymake-proc.el b/lisp/progmodes/flymake-proc.el index 52cb1985327..ab60855b217 100644 --- a/lisp/progmodes/flymake-proc.el +++ b/lisp/progmodes/flymake-proc.el @@ -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 -- 2.39.5