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

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

Re: merge files with emacs


From: Edward O'Connor
Subject: Re: merge files with emacs
Date: Thu, 06 Oct 2005 12:07:50 -0700
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (darwin)

alexcwu wrote:

> Hi
>
> I'd like to start emacs in file merge with two file names
> supplied from shell command line.
>
> emacs -f emacs-function file1.txt file2.txt

Something along the lines of

emacs --eval "(ediff-merge-files \"$file1\" \"$file2\")"

should do the trick.


Ted

-- 
Edward O'Connor
hober0@gmail.com

Ense petit placidam sub libertate quietem.





reply via email to

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