summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-08-14 16:04:48 +0000
committerRichard M. Stallman <rms@gnu.org>1995-08-14 16:04:48 +0000
commitf11db4bf7845fd13b70919e9acb8e1654f408560 (patch)
treef9ab778c249b47496cd36008e97b23024f70ed40 /src/emacs.c
parentbb72ebee4537f9d86d42e2be0c334faddcdca57c (diff)
downloademacs-f11db4bf7845fd13b70919e9acb8e1654f408560.tar.gz
(standard_args): Add option --eval to evalute an
expression on the command line and print the result.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c1
1 files changed, 1 insertions, 0 deletions
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 },