Function: consult--forbid-minibuffer

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

Signature

(consult--forbid-minibuffer)

Documentation

Raise an error if executed from the minibuffer.

Source Code

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