HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix --no-wait in emacsclient (reported by Dan Nicolaescu).
[bpt/emacs.git]
/
lib-src
/
emacsclient.c
diff --git
a/lib-src/emacsclient.c
b/lib-src/emacsclient.c
index
a241a17
..
888c85e
100644
(file)
--- 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",
fflush (out);
fsync (fileno (out));
- /* Maybe wait for an answer. */
- if (nowait)
- return EXIT_SUCCESS;
-
- if (!eval && !tty)
+ /* Wait for an answer. */
+ if (!eval && !tty && !nowait)
{
printf ("Waiting for Emacs...");
needlf = 2;