diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index a241a17eb60..888c85e8685 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -814,11 +814,8 @@ To start the server in Emacs, type \"M-x server-start\".\n", | |||
| 814 | fflush (out); | 814 | fflush (out); |
| 815 | fsync (fileno (out)); | 815 | fsync (fileno (out)); |
| 816 | 816 | ||
| 817 | /* Maybe wait for an answer. */ | 817 | /* Wait for an answer. */ |
| 818 | if (nowait) | 818 | if (!eval && !tty && !nowait) |
| 819 | return EXIT_SUCCESS; | ||
| 820 | |||
| 821 | if (!eval && !tty) | ||
| 822 | { | 819 | { |
| 823 | printf ("Waiting for Emacs..."); | 820 | printf ("Waiting for Emacs..."); |
| 824 | needlf = 2; | 821 | needlf = 2; |