I'm looking for an emacs function that will delete all whitespace from the cursor position (including newlines) until the first non-whitespace character.
For example, if my cursor is positioned at the end of the first line:
main(arg1, arg2) The delete function would result in:
main(arg1,arg2)