]> git.eshelyaron.com Git - emacs.git/commitdiff
* emacsclient.c (handle_sigtstp): Use the new name for the
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 17 May 2007 00:17:06 +0000 (00:17 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 17 May 2007 00:17:06 +0000 (00:17 +0000)
   socket variable.

lib-src/ChangeLog.multi-tty
lib-src/emacsclient.c

index f2aafdadb7a2e972745d22a4e793c4ae494fd940..f118b0b2d7c20a4660db8374b922920e36b527bf 100644 (file)
@@ -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.
index c00ae9d42be55105fb93732060362b1bea8c4278..c7c2f00c326854418eab8b716a3a540b68aaccff 100644 (file)
@@ -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