At 2005-07-08T18:31:59+05:30, Jim Smith <[EMAIL PROTECTED]> 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.

Raghavendra.

-- 
N. Raghavendra <[EMAIL PROTECTED]> | See message headers for contact
Harish-Chandra Research Institute   | and OpenPGP details.
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to