What do you mean?

Do you mean the removal of the empty whitespace at the ends of the lines? That was just a by-product of whitespace-mode and whitespace-cleanup. It removed trailing whitespace at the ends of lines, it's an automatic step I have set up in emacs.