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

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

Re: About `diff-reverse-direction'


From: Stefan Monnier
Subject: Re: About `diff-reverse-direction'
Date: Tue, 05 Feb 2013 00:08:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> What does the command 'diff-reverse-direction' do?  The docstring only
> says it "reverses the direction of the diffs".  Does that mean changing

>   diff -c /home/xfq/.emacs.d/backups/.emacs\~ /home/xfq/.emacs
> to
>   diff -c /home/xfq/.emacs /home/xfq/.emacs.d/backups/.emacs\~

It's part of diff-mode.el, which does not run diff but only helps you
read/manipulate diff's output.  So what diff-reverse-direction does is
to let you see the result of swapping the arguments (as you have shown
above), without having to re-run diff.


        Stefan




reply via email to

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