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"
This commit is contained in:
parent
1c2e188440
commit
3dfa2ca4dc
1 changed files with 2 additions and 2 deletions
|
@ -626,7 +626,7 @@ Create parent directories as needed."
|
||||||
"Tell Flymake UI about a fatal PROBLEM with this backend.
|
"Tell Flymake UI about a fatal PROBLEM with this backend.
|
||||||
May only be called in a dynamic environment where
|
May only be called in a dynamic environment where
|
||||||
`flymake-proc--report-fn' is bound."
|
`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)
|
(if (and (boundp 'flymake-proc--report-fn)
|
||||||
flymake-proc--report-fn)
|
flymake-proc--report-fn)
|
||||||
(funcall flymake-proc--report-fn :panic
|
(funcall flymake-proc--report-fn :panic
|
||||||
|
@ -766,7 +766,7 @@ can also be executed interactively independently of
|
||||||
(unwind-protect
|
(unwind-protect
|
||||||
(cond
|
(cond
|
||||||
((not cmd-and-args)
|
((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))
|
init-f buffer-file-name))
|
||||||
(t
|
(t
|
||||||
(setq proc
|
(setq proc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue