Laren Mortensen
Laren Mortensen

Reputation: 127

Remove Emacs highlighting

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.

Upvotes: 3

Views: 5187

Answers (2)

NVRAM
NVRAM

Reputation: 7137

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

Upvotes: 5

Michael Goldshteyn
Michael Goldshteyn

Reputation: 74360

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

Upvotes: 1

Related Questions