Function: consult--slow-operation

consult--slow-operation is a macro defined in consult.el.

Signature

(consult--slow-operation MESSAGE &rest BODY)

Documentation

Show delayed MESSAGE if BODY takes too long.

Also temporarily increase the GC limit via consult--with-increased-gc.

Source Code

;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
(defmacro consult--slow-operation (message &rest body)
  "Show delayed MESSAGE if BODY takes too long.
Also temporarily increase the GC limit via `consult--with-increased-gc'."
  (declare (indent 1) (debug t))
  `(with-delayed-message (1 ,message)
     (consult--with-increased-gc ,@body)))