help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Diff could also show the changes within lines


From: Tom
Subject: Re: Diff could also show the changes within lines
Date: Fri, 5 Oct 2012 16:26:03 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Tom <adatgyujto <at> gmail.com> writes:

> 
> chandan r <chandanrmail <at> gmail.com> writes:
> > 
> > Add the following to your Emacs init file:
> > 
> > (add-hook 'diff-mode-hook
> >       (lambda () (diff-auto-refine-mode 1)))
> > 
> 
> Wow, I'm impressed. Builtin Emacs features can still surprise me after
> all these years. Thanks.
> 
> 

Looks like it does not work with DVC diff, so it needs to be disabled for
that:

  (unless (or (eq this-command 'dvc-diff)
              (eq this-command 'dvc-generic-refresh))
    (diff-auto-refine-mode 1))








reply via email to

[Prev in Thread] Current Thread [Next in Thread]