Function: compile-multi-embark-transformer

compile-multi-embark-transformer is a natively compiled function defined in compile-multi-embark.el.

Signature

(compile-multi-embark-transformer TYPE TARGET)

Documentation

Transformer for embark to convert a compile-multi TARGET into a command.

TYPE should always be compile-multi.

Source Code

;; Defined in /nix/store/fznq87k6iik84wwqd2djaligcm162m9m-emacs-packages-deps/share/emacs/site-lisp/elpa/compile-multi-embark-20250101.2156/compile-multi-embark.el
(defun compile-multi-embark-transformer (type target)
  "Transformer for `embark' to convert a `compile-multi' TARGET into a command.
TYPE should always be `compile-multi'."
  (cl-assert (eq type 'compile-multi) 'show-args
             "This transformer should only be used with `compile-multi'.")
  (let ((command (get-text-property 0 'compile-multi--task target)))
    (cl-assert command 'show-args "Encountered compile-multi candidate with no command")
    (cons type command)))