Variable: cape-line-buffer-function

cape-line-buffer-function is a customizable variable defined in cape.el.

Value

cape-same-mode-buffers

Documentation

Function which returns list of buffers.

The buffers are scanned for completion candidates by cape-line.

Source Code

;; Defined in /nix/store/nxaggkd0bn9kr2xfg9hyw77q51q20r8y-emacs-packages-deps/share/emacs/site-lisp/elpa/cape-20260927.2347/cape.el
(defcustom cape-line-buffer-function #'cape-same-mode-buffers
  "Function which returns list of buffers.
The buffers are scanned for completion candidates by `cape-line'."
  :type `(choice (const :tag "Current buffer" current-buffer)
                 (const :tag "Text buffers" ,#'cape-text-buffers)
                 (const :tag "Buffers with same mode" ,#'cape-same-mode-buffers)
                 (function :tag "Custom function")))