Function: consult--widen-key

consult--widen-key is a byte-compiled function defined in consult.el.

Signature

(consult--widen-key)

Documentation

Return widening key, if consult-widen-key is not set.

The default is twice the consult-narrow-key.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--widen-key ()
  "Return widening key, if `consult-widen-key' is not set.
The default is twice the `consult-narrow-key'."
  (cond
   (consult-widen-key
    (consult--key-parse consult-widen-key))
   (consult-narrow-key
    (let ((key (consult--key-parse consult-narrow-key)))
      (vconcat key key)))))