dabbrev-eliminate-newlines
dabbrev-eliminate-newlines is a variable defined in `dabbrev.el
'.Its value is
t
Documentation:
Non-nil means dabbrev should not insert newlines.
Instead it converts them to spaces.
You can customize this variable.
dabbrev.el
'.t