Variable: dabbrev-select-buffers-function

dabbrev-select-buffers-function is a variable defined in dabbrev.el.gz.

Value

dabbrev--select-buffers

Documentation

A function that selects buffers that should be searched by dabbrev.

The function should take no arguments and return a list of buffers to search for expansions. See the source of dabbrev--select-buffers for an example.

A mode setting this variable should make it buffer local.

Source Code

;; Defined in /usr/src/emacs/lisp/dabbrev.el.gz
;; I guess setting this to a function that selects all C- or C++-
;; mode buffers would be a good choice for a debugging buffer,
;; when debugging C- or C++-code.
(defvar dabbrev-select-buffers-function 'dabbrev--select-buffers
  "A function that selects buffers that should be searched by dabbrev.
The function should take no arguments and return a list of buffers to
search for expansions.  See the source of `dabbrev--select-buffers'
for an example.

A mode setting this variable should make it buffer local.")