Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 356
Laren Mortensen Avatar asked May 23 '26 01:05

Laren Mortensen


2 Answers

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

like image 167
NVRAM Avatar answered May 25 '26 16:05

NVRAM


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

like image 25
Michael Goldshteyn Avatar answered May 25 '26 15:05

Michael Goldshteyn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!