Commit 3dfa2ca4 authored by João Távora's avatar João Távora

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"
parent 1c2e1884
......@@ -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)
(funcall flymake-proc--report-fn :panic
......@@ -766,7 +766,7 @@ can also be executed interactively independently of
((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))
(setq proc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment