emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lib-src/emacsclient.c,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lib-src/emacsclient.c,v
Date: Thu, 30 Oct 2008 15:54:39 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/10/30 15:54:39

Index: emacsclient.c
===================================================================
RCS file: /sources/emacs/emacs/lib-src/emacsclient.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -b -r1.135 -r1.136
--- emacsclient.c       29 Oct 2008 15:34:06 -0000      1.135
+++ emacsclient.c       30 Oct 2008 15:54:38 -0000      1.136
@@ -1437,7 +1437,10 @@
       send_to_emacs (emacs_socket, " ");
     }
 
-  if (tty)
+  /* If using the current frame, send tty information to Emacs anyway.
+     In daemon mode, Emacs may need to occupy this tty if no other
+     frame is available.  */
+  if (tty || current_frame)
     {
       char *type = egetenv ("TERM");
       char *tty_name = NULL;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]