# HG changeset patch # User Richard M. Stallman # Date 808416288 0 # Node ID 84beb7f8321f47991d6724b0ce1bb5efd32b370e # Parent 61961ca01260c55841bb3188dfa5dc52fe6062a1 (standard_args): Add option --eval to evalute an expression on the command line and print the result. diff -r 61961ca01260 -r 84beb7f8321f src/emacs.c --- 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 },