XEmacs Reference Manual - Comparing Files Go to the previous , next section. It works by running the diff program, using options taken from the variable diff-switches , whose value should be a string. If you specify the name of a backup file, diff-backup compares it with the source file that it is a backup of.
Comparison starts at point in each window.
Point moves forward in each window, a character at a time in each window, until the next characters in the two windows are different. Then the command is finished. For more information about windows in Emacs, section Multiple Windows . With a numeric argument, compare-windows ignores changes in whitespace. Go to the previous , next section.