Function: byte-compile-info

byte-compile-info is a byte-compiled function defined in byte-run.el.gz.

Signature

(byte-compile-info STRING &optional MESSAGE TYPE)

Documentation

Format STRING in a way that looks pleasing in the compilation output.

If MESSAGE, output the message, too.

If TYPE, it should be a string that says what the information type is. This defaults to "INFO".

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/byte-run.el.gz
(defun byte-compile-info (string &optional message type)
  "Format STRING in a way that looks pleasing in the compilation output.
If MESSAGE, output the message, too.

If TYPE, it should be a string that says what the information
type is.  This defaults to \"INFO\"."
  (let ((string (format "  %-9s%s" (or type "INFO") string)))
    (when message
      (message "%s" string))
    string))