Variable: completion-search-distance
completion-search-distance is a customizable variable defined in
completion.el.gz.
Value
15000
Documentation
How far to search in the buffer when looking for completions.
In number of characters. If nil, search the whole buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/completion.el.gz
(defcustom completion-search-distance 15000
"How far to search in the buffer when looking for completions.
In number of characters. If nil, search the whole buffer."
:type 'integer)