Function: consult--multi-visible-p

consult--multi-visible-p is a byte-compiled function defined in consult.el.

Signature

(consult--multi-visible-p SRC)

Documentation

Is SRC visible according to consult--narrow?

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defsubst consult--multi-visible-p (src)
  "Is SRC visible according to `consult--narrow'?"
  (if-let* ((n consult--narrow))
      (pcase (plist-get src :narrow)
        ((and ks `((,_ . ,_) . ,_)) (assq n ks))
        ((or `(,k . ,_) k) (eq n k)))
    (not (plist-get src :hidden))))