Mercurial > emacs
changeset 26193:45f2d2b5f0d7
(standard_args): Add `file' as synonym for `visit',
`execute' as synonym for `eval'.
(main): Add new options to usage message.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 26 Oct 1999 14:33:53 +0000 |
parents | 01d4feb7e1e4 |
children | 5643e0243ec7 |
files | src/emacs.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/emacs.c Tue Oct 26 13:08:02 1999 +0000 +++ b/src/emacs.c Tue Oct 26 14:33:53 1999 +0000 @@ -859,7 +859,8 @@ [-q] [--no-init-file] [-u user] [--user user] [--debug-init]\n\ [--unibyte] [--multibyte] [--version] [--no-site-file]\n\ [-f func] [--funcall func] [-l file] [--load file] [--eval expr]\n\ - [--insert file] [+linenum] file-to-visit [--kill]\n\ + [--execute expr] [--visit file] [--file file] [--insert file]\n\ + [+linenum] file-to-visit [--kill]\n\ Report bugs to bug-gnu-emacs@gnu.org. First, please see\n\ the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]); exit (0); @@ -1379,7 +1380,10 @@ extern void _mcleanup (); extern char etext; extern void safe_bcopy (); + extern void dump_opcode_frequencies (); + atexit (_mcleanup); + // atexit (dump_opcode_frequencies); /* This uses safe_bcopy because that function comes first in the Emacs executable. It might be better to use something that gives the start of the text segment, but start_of_text is not @@ -1484,8 +1488,10 @@ { "-f", "--funcall", 0, 1 }, { "-funcall", 0, 0, 1 }, { "-eval", "--eval", 0, 1 }, + { "-execute", "--execute", 0, 1 }, { "-find-file", "--find-file", 0, 1 }, { "-visit", "--visit", 0, 1 }, + { "-file", "--file", 0, 1 }, { "-insert", "--insert", 0, 1 }, /* This should be processed after ordinary file name args and the like. */ { "-kill", "--kill", -10, 0 },