Function: compilation--message->loc

compilation--message->loc is a byte-compiled function defined in compile.el.gz.

Signature

(compilation--message->loc compilation--message->loc X)

Documentation

Access slot "loc" of compilation--message struct X.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
;;   MESSAGE is a list of (LOC TYPE END-LOC)

;; TYPE is 0 for info or 1 for warning if the message matcher identified it as
;; such, 2 otherwise (for a real error).  END-LOC is a LOC pointing to the
;; other end, if the parsed message contained a range.  If the end of the
;; range didn't specify a COLUMN, it defaults to -1, meaning end of line.
;; These are the value of the `compilation-message' text-properties in the
;; compilation buffer.

(cl-defstruct (compilation--message
            (:constructor nil)
            (:copier nil)
            ;; (:type list)                ;Old representation.
            (:constructor compilation--make-message (loc type end-loc rule))
            (:conc-name compilation--message->))
  loc type end-loc rule)