Function: compilation-type

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

Signature

(compilation-type TYPE)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defun compilation-type (type)
  (or (and (car type) (match-end (car type)) 1)
      (and (cdr type) (match-end (cdr type)) 0)
      2))