views:

57

answers:

2

I use the emacs command 'highlight-compare-buffers' to see the changes between two files. But I don't know how to turn the highlighting off. It seems like it should be really easy, but I can't seem to figure out how even with lots of googling and searching the emacs help files.

+1  A: 

I don't have emacs installed on this box, so this is untested, but highlight-changes-toggle-visibility might work.

Michael Goldshteyn
+5  A: 

Try:

C-u -1 M-x highlight-compare-buffers

global-highlight-changes is an interactive autoloaded Lisp function in `hilit-chg'.

(global-highlight-changes &optional arg)

Turn on or off global Highlight Changes mode.

When called interactively:

  • if no prefix, toggle global Highlight Changes mode on or off

  • if called with a positive prefix (or just C-u) turn it on in active mode

  • if called with a zero prefix turn it on in passive mode

  • if called with a negative prefix turn it off

Carter Galle
That did the trick.
Laren Mortensen