just-one-space

just-one-space is an interactive compiled Lisp function in `simple.el'.

It is bound to M-SPC.

(just-one-space &optional N)

Delete all spaces and tabs around point, leaving one space (or N spaces).
If N is negative, delete newlines as well, leaving -N spaces.
See also `cycle-spacing'.