Function: compile-multi-embark-mode

compile-multi-embark-mode is an interactive and natively compiled function defined in compile-multi-embark.el.

Signature

(compile-multi-embark-mode &optional ARG)

Documentation

Minor mode enabling embark actions for compile-multi minibuffer sessions.

This is a global minor mode. If called interactively, toggle the Compile-Multi-Embark mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate (default-value \=compile-multi-embark-mode)'.

The mode's hook is called both when the mode is enabled and when it is disabled.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/fznq87k6iik84wwqd2djaligcm162m9m-emacs-packages-deps/share/emacs/site-lisp/elpa/compile-multi-embark-20250101.2156/compile-multi-embark.el
;;;###autoload
(define-minor-mode compile-multi-embark-mode
  "Minor mode enabling `embark' actions for `compile-multi' minibuffer sessions."
  :global t :group 'compile-multi-embark
  (if compile-multi-embark-mode
      (progn
        (push '(compile-multi compile-multi-embark-command-map) embark-keymap-alist)
        (push `(compile-multi . ,#'compile-multi-embark-transformer)
              embark-transformer-alist))
    (setq embark-keymap-alist (assq-delete-all 'compile-multi embark-keymap-alist)
          embark-transformer-alist (assq-delete-all 'compile-multi embark-transformer-alist))))