aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2017-10-10 12:30:42 +0100
committerJoão Távora2017-10-10 13:08:41 +0100
commit3dfa2ca4dc471412a8b5442357d5d4bec6611f3f (patch)
treefee65a8bac374ee1da8c3c976dacad1efad94a91
parent1c2e1884407f6210b0787e76e0707049e2babc8f (diff)
downloademacs-3dfa2ca4dc471412a8b5442357d5d4bec6611f3f.tar.gz
emacs-3dfa2ca4dc471412a8b5442357d5d4bec6611f3f.zip
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"
-rw-r--r--lisp/progmodes/flymake-proc.el4
1 files 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."
626 "Tell Flymake UI about a fatal PROBLEM with this backend. 626 "Tell Flymake UI about a fatal PROBLEM with this backend.
627May only be called in a dynamic environment where 627May only be called in a dynamic environment where
628`flymake-proc--report-fn' is bound." 628`flymake-proc--report-fn' is bound."
629 (flymake-log 0 "%s: %s" problem explanation) 629 (flymake-log 1 "%s: %s" problem explanation)
630 (if (and (boundp 'flymake-proc--report-fn) 630 (if (and (boundp 'flymake-proc--report-fn)
631 flymake-proc--report-fn) 631 flymake-proc--report-fn)
632 (funcall flymake-proc--report-fn :panic 632 (funcall flymake-proc--report-fn :panic
@@ -766,7 +766,7 @@ can also be executed interactively independently of
766 (unwind-protect 766 (unwind-protect
767 (cond 767 (cond
768 ((not cmd-and-args) 768 ((not cmd-and-args)
769 (flymake-log 0 "init function %s for %s failed, cleaning up" 769 (flymake-log 1 "init function %s for %s failed, cleaning up"
770 init-f buffer-file-name)) 770 init-f buffer-file-name))
771 (t 771 (t
772 (setq proc 772 (setq proc