diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/emacs.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3e91f708bbc..2ba3c7cd09d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2001-10-28 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 1 | 2001-10-28 Pavel Jan,Bm(Bk <Pavel@Janik.cz> |
| 2 | 2 | ||
| 3 | * emacs.c: Use argv[0] instead of emacs when -t was specified. | ||
| 4 | |||
| 3 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' | 5 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
| 4 | keyword]. | 6 | keyword]. |
| 5 | Fix typos in comments. | 7 | Fix typos in comments. |
diff --git a/src/emacs.c b/src/emacs.c index db031bc5c8a..f709cc9753f 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -981,13 +981,13 @@ main (argc, argv, envp) | |||
| 981 | if (result < 0) | 981 | if (result < 0) |
| 982 | { | 982 | { |
| 983 | char *errstring = strerror (errno); | 983 | char *errstring = strerror (errno); |
| 984 | fprintf (stderr, "emacs: %s: %s\n", term, errstring); | 984 | fprintf (stderr, "%s: %s: %s\n", argv[0], term, errstring); |
| 985 | exit (1); | 985 | exit (1); |
| 986 | } | 986 | } |
| 987 | dup (0); | 987 | dup (0); |
| 988 | if (! isatty (0)) | 988 | if (! isatty (0)) |
| 989 | { | 989 | { |
| 990 | fprintf (stderr, "emacs: %s: not a tty\n", term); | 990 | fprintf (stderr, "%s: %s: not a tty\n", argv[0], term); |
| 991 | exit (1); | 991 | exit (1); |
| 992 | } | 992 | } |
| 993 | fprintf (stderr, "Using %s\n", term); | 993 | fprintf (stderr, "Using %s\n", term); |