I would like to launch emacs to ediff either files or directories. For example, I'd like something like: emacs -f ediff-files file1 file2 But when I do this, it doesn't take file1 and file2 as the two files to diff. Rather, emacs prompts me for the files to difference. Does anyone know how to do this in one command line?