|
From: | Juri Linkov |
Subject: | bug#58516: 28.1; add option/key to rerun current diff without whitespace changes |
Date: | Sat, 15 Oct 2022 22:09:35 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> +(defun diff-ignore-whitespace-all-hunks () > + "Re-diff all the hunks, ignoring whitespace-differences." > + (interactive) > + (diff--iterate-hunks (point-max) (lambda (_ _) > + (diff-refresh-hunk t)) > + (point-min))) A question about performance: would this run the diff command for every hunk?
[Prev in Thread] | Current Thread | [Next in Thread] |