Function: consult--forbid-minibuffer

consult--forbid-minibuffer is a byte-compiled function defined in consult.el.

Signature

(consult--forbid-minibuffer)

Documentation

Raise an error if executed from the minibuffer.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--forbid-minibuffer ()
  "Raise an error if executed from the minibuffer."
  (when (minibufferp)
    (user-error "`%s' called inside the minibuffer" this-command)))