summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2007-05-17 00:17:06 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2007-05-17 00:17:06 +0000
commit90843190c51b9151b26cd61b9da89f654fe0e8c4 (patch)
tree09dceade2f1485603c1975c9030b27e926d8362b /lib-src
parenta0c750da6ede1575088050f36d7c732532d51d54 (diff)
downloademacs-90843190c51b9151b26cd61b9da89f654fe0e8c4.tar.gz
* emacsclient.c (handle_sigtstp): Use the new name for the
socket variable.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog.multi-tty5
-rw-r--r--lib-src/emacsclient.c2
2 files changed, 6 insertions, 1 deletions
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 <dann@ics.uci.edu>
+
+ * emacsclient.c (handle_sigtstp): Use the new name for the
+ socket variable.
+
2007-05-16 Dan Nicolaescu <dann@ics.uci.edu>
* 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