Variable: completion-search-distance
completion-search-distance is a customizable variable defined in
completion.el.gz.
Value
15000
Documentation
How far in the buffer to search when looking for completions.
Limit is measured in 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 in the buffer to search when looking for completions.
Limit is measured in characters. If nil, search the whole buffer."
:type '(choice
(const :tag "No limit" nil)
(integer :tag "Limit in characters")))