dabbrev-limit

dabbrev-limit is a variable defined in `dabbrev.el'.
Its value is
nil


Documentation:
Limits region searched by `dabbrev-expand' to this many chars away.

You can customize this variable.