histedit: extract common summary code into method
We're going to need to use this code in our autoverb logic so let's extract it now and save ourselves from code duplication.
We're going to need to use this code in our autoverb logic so let's extract it now and save ourselves from code duplication.
mentioned in commit 7bdf19f892c6