From: Richard M. Stallman Date: Mon, 14 Aug 1995 16:04:48 +0000 (+0000) Subject: (standard_args): Add option --eval to evalute an X-Git-Tag: emacs-19.34~3012 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c3c6202c3fdfa34afe3c0e72ce0a112266315f60;p=emacs.git (standard_args): Add option --eval to evalute an expression on the command line and print the result. --- diff --git a/src/emacs.c b/src/emacs.c index eab528119dd..fe832b2a4ac 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -988,6 +988,7 @@ struct standard_args standard_args[] = { "-load", 0, 0, 1 }, { "-f", "--funcall", 0, 1 }, { "-funcall", 0, 0, 1 }, + { "-eval", "--eval", 0, 0, 1 }, { "-insert", "--insert", 0, 1 }, /* This should be processed after ordinary file name args and the like. */ { "-kill", "--kill", -10, 0 },