Function: byte-compile-warn
byte-compile-warn is a byte-compiled function defined in
bytecomp.el.gz.
Signature
(byte-compile-warn FORMAT &rest ARGS)
Documentation
Issue a byte compiler warning; use (format-message FORMAT ARGS...) for message.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/bytecomp.el.gz
(defun byte-compile-warn (format &rest args)
"Issue a byte compiler warning; use (format-message FORMAT ARGS...) for message."
(setq format (apply #'format-message format args))
(if byte-compile-error-on-warn
(error "%s" format) ; byte-compile-file catches and logs it
(byte-compile-log-warning format t :warning)))