Function: consult-compile-multi-mode

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

Signature

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

Documentation

Run compile-multi with consult.

This is a global minor mode. If called interactively, toggle the Consult-Compile-Multi 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 \=consult-compile-multi-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/bcirfg5lifzpc2ahfjss5s2gg41fqrbw-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-compile-multi-20250101.2156/consult-compile-multi.el
;;; Minor mode to enable consult.

;;;###autoload
(define-minor-mode consult-compile-multi-mode
  "Run `compile-multi' with `consult'."
  :global t :group 'consult-compile-multi
  (setq compile-multi-interface
        (if consult-compile-multi-mode
            'consult
          nil)))