Variable: cape-dabbrev-buffer-function

cape-dabbrev-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-dabbrev.

Source Code

;; Defined in ~/.emacs.d/elpa/cape-20260804.2303/cape.el
(defcustom cape-dabbrev-buffer-function #'cape-same-mode-buffers
  "Function which returns list of buffers.
The buffers are scanned for completion candidates by `cape-dabbrev'."
  :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")))