Function: compilation-insert-annotation

compilation-insert-annotation is a byte-compiled function defined in compile.el.gz.

Signature

(compilation-insert-annotation &rest ARGS)

Documentation

Insert ARGS at point, adding the compilation-annotation text property.

This property is used to distinguish output of the compilation process from additional information inserted by Emacs.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defun compilation-insert-annotation (&rest args)
  "Insert ARGS at point, adding the `compilation-annotation' text property.
This property is used to distinguish output of the compilation
process from additional information inserted by Emacs."
  (let ((start (point)))
    (apply #'insert args)
    (put-text-property start (point) 'compilation-annotation t)))