summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-10-26 14:34:42 +0000
committerGerd Moellmann <gerd@gnu.org>1999-10-26 14:34:42 +0000
commit67a5596fa3e72172a0deeca74e2087f174a456e8 (patch)
tree2eac31159316723e5384b7dd5c2122bef596c900 /src/emacs.c
parent7f785b50454e9750b2612c8a5463900e3846878d (diff)
downloademacs-67a5596fa3e72172a0deeca74e2087f174a456e8.tar.gz
(standard_args): Add `file' as synonym for `visit',
`execute' as synonym for `eval'. (main): Add new options to usage message.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 7acf3f59e4d..9892ed29bab 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -859,7 +859,8 @@ Usage: %s [--batch] [-t term] [--terminal term]\n\
[-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 @@ the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]);
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 @@ struct standard_args standard_args[] =
{ "-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 },