suvayu ali <fatkasuvayu+li...@gmail.com> wrote:

> Hi John,
> 
> On Mon, Aug 8, 2011 at 9:48 PM, John Hendy <jw.he...@gmail.com> wrote:
> > -batch -l ~/.emacs -eval
> 
> Your problem is the long options are wrong. According to the manpages,
> there should be 2 hyphens.
> 
> --eval and --batch.
> 

Nope - emacs recognizes both (presumably the single hyphen ones are deprecated
but they still work:

    emacs -batch -eval '(message "foo")'

works fine.

Nick

Reply via email to