From 90843190c51b9151b26cd61b9da89f654fe0e8c4 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Thu, 17 May 2007 00:17:06 +0000 Subject: [PATCH] * emacsclient.c (handle_sigtstp): Use the new name for the socket variable. --- lib-src/ChangeLog.multi-tty | 5 +++++ lib-src/emacsclient.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib-src/ChangeLog.multi-tty b/lib-src/ChangeLog.multi-tty index f2aafdadb7a..f118b0b2d7c 100644 --- a/lib-src/ChangeLog.multi-tty +++ b/lib-src/ChangeLog.multi-tty @@ -1,3 +1,8 @@ +2007-05-17 Dan Nicolaescu + + * emacsclient.c (handle_sigtstp): Use the new name for the + socket variable. + 2007-05-16 Dan Nicolaescu * emacsclient.c (decode_options): Don't use a tty on windows. diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index c00ae9d42be..c7c2f00c326 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -977,7 +977,7 @@ handle_sigtstp (int signalnum) int old_errno = errno; sigset_t set; - if (s) + if (emacs_socket) send_to_emacs (emacs_socket, "-suspend \n"); /* Unblock this signal and call the default handler by temprarily -- 2.39.5