Variable: consult-buffer-list-function

consult-buffer-list-function is a customizable variable defined in consult.el.

Value

buffer-list

Documentation

List of buffers to use for selection.

By default, the variable is set to the function buffer-list, which returns all buffers from all frames. Set it to consult--frame-buffer-list to only use buffers belonging to the current frame (or tab-bar tab). Alternatively use a custom function for custom buffer isolation.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defcustom consult-buffer-list-function #'buffer-list
  "List of buffers to use for selection.
By default, the variable is set to the function `buffer-list', which
returns all buffers from all frames.  Set it to
`consult--frame-buffer-list' to only use buffers belonging to the
current frame (or tab-bar tab).  Alternatively use a custom function for
custom buffer isolation."
  :type `(choice (const :tag "All buffers" ,#'buffer-list)
                 (const :tag "Frame/Tab buffers" ,#'consult--frame-buffer-list)
                 (function :tag "Custom function")))