Function: projection--attach-set-build-target-properties

projection--attach-set-build-target-properties is a natively compiled function defined in projection-utils.el.

Signature

(projection--attach-set-build-target-properties COMMAND SET-COMMAND &rest PROPS)

Documentation

Helper to set-build-target properties in COMMAND.

This is used for dwim support in projection-multi-embark. SET-COMMAND when set will attach it and PROPS to COMMAND and return it. If SET-COMMAND is unset COMMAND will be returned as is.

Source Code

;; Defined in /nix/store/j6y921qbdmdqxjnd43iibapbig3p4hai-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-20260614.1822/projection-utils.el
;; Projection-multi-embark

(defun projection--attach-set-build-target-properties (command set-command &rest props)
  "Helper to set-build-target properties in COMMAND.
This is used for dwim support in `projection-multi-embark'. SET-COMMAND when set
will attach it and PROPS to COMMAND and return it. If SET-COMMAND is unset
COMMAND will be returned as is."
  (if set-command
      (apply #'propertize command 'projection-set-command-callback set-command props)
    command))