Function: flymake-proc--panic

flymake-proc--panic is a byte-compiled function defined in flymake-proc.el.gz.

Signature

(flymake-proc--panic PROBLEM EXPLANATION)

Documentation

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.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake-proc.el.gz
(defun flymake-proc--panic (problem explanation)
  "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 1 "%s: %s" problem explanation)
  (if (and (boundp 'flymake-proc--report-fn)
           flymake-proc--report-fn)
      (funcall flymake-proc--report-fn :panic
               :explanation (format "%s: %s" problem explanation))
    (flymake-error "Trouble telling flymake-ui about problem %s(%s)"
                   problem explanation)))