aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1995-08-14 16:04:48 +0000
committerRichard M. Stallman <[email protected]>1995-08-14 16:04:48 +0000
commitc3c6202c3fdfa34afe3c0e72ce0a112266315f60 (patch)
tree6bcaa61b86806edb00770ed6412ac5470a9408af /src
parent4fd3a710d01606ee4e20bf030ee84bd9cdd3cf94 (diff)
(standard_args): Add option --eval to evalute an
expression on the command line and print the result.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index eab528119d..fe832b2a4a 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 },