Function: byte-compile-report-error

byte-compile-report-error is a byte-compiled function defined in bytecomp.el.gz.

Signature

(byte-compile-report-error ERROR-INFO &optional FILL)

Documentation

Report Lisp error in compilation.

ERROR-INFO is the error data, in the form of either (ERROR-SYMBOL . DATA) or STRING. If FILL is non-nil, set warning-fill-prefix to four spaces when printing the error message.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/bytecomp.el.gz
(defun byte-compile-report-error (error-info &optional fill)
  "Report Lisp error in compilation.
ERROR-INFO is the error data, in the form of either (ERROR-SYMBOL . DATA)
or STRING.  If FILL is non-nil, set `warning-fill-prefix' to four spaces
when printing the error message."
  (setq byte-compiler-error-flag t)
  (byte-compile-log-warning
   (if (stringp error-info) error-info
     (error-message-string error-info))
   fill :error))