diff-delete-trailing-whitespace
diff-delete-trailing-whitespace is an interactive compiled Lisp function in `diff-mode.el
'.
(diff-delete-trailing-whitespace &optional OTHER-FILE)
Remove trailing whitespace from lines modified in this diff.
This edits both the current Diff mode buffer and the patched
source file(s). If `diff-jump-to-old-file' is non-nil, edit the
original (unpatched) source file instead. With a prefix argument
OTHER-FILE, flip the choice of which source file to edit.
If a file referenced in the diff has no buffer and needs to be
fixed, visit it in a buffer.