Function: consult-completion-in-region

consult-completion-in-region is an autoloaded and byte-compiled function defined in consult.el.

Signature

(consult-completion-in-region START END TABLE PREDICATE)

Documentation

Use minibuffer completion as the UI for completion-at-point.

The arguments START, END, TABLE and PREDICATE and expected return value are as specified for completion-in-region. Use this function as a value for completion-in-region-function.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
;;;###autoload
(defun consult-completion-in-region (start end table predicate)
  "Use minibuffer completion as the UI for `completion-at-point'.

The arguments START, END, TABLE and PREDICATE and expected return value
are as specified for `completion-in-region'.  Use this function as a
value for `completion-in-region-function'."
  (if (and (or (bound-and-true-p vertico-mode) (bound-and-true-p icomplete-mode))
           (not (eq table minibuffer-completion-table)))
      (consult--in-region start end table predicate)
    (completion--in-region start end table predicate)))