delete-blank-lines

delete-blank-lines C-x C-o