From: João Távora Date: Tue, 10 Oct 2017 11:30:42 +0000 (+0100) Subject: Don't log "emergencies" in the Flymake legacy backend X-Git-Tag: emacs-26.0.90~17 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3dfa2ca4dc471412a8b5442357d5d4bec6611f3f;p=emacs.git 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" --- 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