1

I often use ediff-directories to diff directories containing many c/c++ files. Whenever I enter a file I always '##' to ignore white space in the diff.

This becomes a problem when I have many files to diff. Is there any way to ignore white space automatically?

CodeSmith
  • 103
  • 5
  • 1
    I was able to add (setq ediff-diff-options "-w") to my init.el. This variable defines the options that are passed to the diff program that is run under the hood. -w tells diff to ignore white space. – CodeSmith Aug 08 '17 at 19:03

1 Answers1

1

Try

(setq-default ediff-ignore-similar-regions t)

You may need

(setq-default ediff-auto-refine 'on)

as well.

jpkotta
  • 9,237
  • 3
  • 29
  • 34