CompareRegions

Compare regions within a buffer

You can compare regions within the same buffer by using M-x ediff-regions-wordwise or M-x ediff-regions-linewise. ediff will prompt you to select the buffer and regions you wish to compare.