changeset 12848:84beb7f8321f

(standard_args): Add option --eval to evalute an expression on the command line and print the result.
author Richard M. Stallman <rms@gnu.org>
date Mon, 14 Aug 1995 16:04:48 +0000
parents 61961ca01260
children ce41e6df8986
files src/emacs.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Mon Aug 14 06:45:37 1995 +0000
+++ b/src/emacs.c	Mon Aug 14 16:04:48 1995 +0000
@@ -988,6 +988,7 @@
   { "-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 },