Function: consult--with-project

consult--with-project is a macro defined in consult.el.

Signature

(consult--with-project &rest BODY)

Documentation

Ensure that BODY is executed with a project root.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defmacro consult--with-project (&rest body)
  "Ensure that BODY is executed with a project root."
  (declare (indent 0) (debug t))
  `(consult--with-project-f (lambda () ,@body)))