[Top][All Lists]

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

Re: ediff from command line?

From: N. Raghavendra
Subject: Re: ediff from command line?
Date: 08 Jul 2005 18:56:33 +0530
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

At 2005-07-08T18:31:59+05:30, Jim Smith <address@hidden> wrote:

> I would like to use emacs/ediff as an external diff program with
> tortoise CVS on the windows platform.  Basically, this means I need to
> invoke emacs from the command line with two file arguments and have
> emacs open an ediff session on those two files.  How do I do that?  I
> know I can specifiy a function to be evaluated on the command line,
> but how do I pass the two file args to ediff-files?

FWIW, this works on Unix:

  emacs --eval '(ediff "/tmp/foo.el" "/tmp/bar.el")'

I don't know about Windows.


N. Raghavendra <address@hidden> | See message headers for contact
Harish-Chandra Research Institute   | and OpenPGP details.

reply via email to

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