Function: diff--ignore-whitespace-all-hunks
diff--ignore-whitespace-all-hunks is a byte-compiled function defined
in diff-mode.el.gz.
Signature
(diff--ignore-whitespace-all-hunks)
Documentation
Re-diff all the hunks, ignoring whitespace-differences.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/diff-mode.el.gz
;; This doesn't use `diff--iterate-hunks' because that assumes that
;; hunks don't change size.
(defun diff--ignore-whitespace-all-hunks ()
"Re-diff all the hunks, ignoring whitespace-differences."
(save-excursion
(goto-char (point-min))
(diff-hunk-next)
(while (looking-at diff-hunk-header-re)
(diff-refresh-hunk t))))