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 /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/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)))