* emacsclient.c (handle_sigcont): Cancel the continue only if tty.
Fixes: debbugs:16883
+2014-02-25 Andreas Amann <a.amann@ucc.ie> (tiny change)
+
+ Fix emacsclient's handling of SIGCONT (Bug#16883).
+ * emacsclient.c (handle_sigcont): Cancel the continue only if tty.
+
2014-01-22 Eli Zaretskii <eliz@gnu.org>
* update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
if (tcgetpgrp (1) == getpgrp ())
{
- /* We are in the foreground. */
+ /* We are in the foreground. */
send_to_emacs (emacs_socket, "-resume \n");
}
- else
+ else if (tty)
{
- /* We are in the background; cancel the continue. */
+ /* We are in the background; cancel the continue. */
raise (SIGSTOP);
}