aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-08-14 16:04:48 +0000
committerRichard M. Stallman1995-08-14 16:04:48 +0000
commitc3c6202c3fdfa34afe3c0e72ce0a112266315f60 (patch)
tree6bcaa61b86806edb00770ed6412ac5470a9408af /src
parent4fd3a710d01606ee4e20bf030ee84bd9cdd3cf94 (diff)
downloademacs-c3c6202c3fdfa34afe3c0e72ce0a112266315f60.tar.gz
emacs-c3c6202c3fdfa34afe3c0e72ce0a112266315f60.zip
(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 eab528119dd..fe832b2a4ac 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -988,6 +988,7 @@ struct standard_args standard_args[] =
988 { "-load", 0, 0, 1 }, 988 { "-load", 0, 0, 1 },
989 { "-f", "--funcall", 0, 1 }, 989 { "-f", "--funcall", 0, 1 },
990 { "-funcall", 0, 0, 1 }, 990 { "-funcall", 0, 0, 1 },
991 { "-eval", "--eval", 0, 0, 1 },
991 { "-insert", "--insert", 0, 1 }, 992 { "-insert", "--insert", 0, 1 },
992 /* This should be processed after ordinary file name args and the like. */ 993 /* This should be processed after ordinary file name args and the like. */
993 { "-kill", "--kill", -10, 0 }, 994 { "-kill", "--kill", -10, 0 },