aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog1
-rw-r--r--lib-src/emacsclient.c8
2 files changed, 5 insertions, 4 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index c76303d8fa2..fc6d905cfb2 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -2,6 +2,7 @@
2 2
3 * emacsclient.c (decode_options): Move -t -n corner case handling 3 * emacsclient.c (decode_options): Move -t -n corner case handling
4 into server.el (Bug#11102). 4 into server.el (Bug#11102).
5 (main): Send -tty to Emacs under more circumstanced (Bug#8314).
5 6
62012-04-18 Paul Eggert <eggert@cs.ucla.edu> 72012-04-18 Paul Eggert <eggert@cs.ucla.edu>
7 8
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 48b4384d487..ea55398306b 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -1658,10 +1658,10 @@ main (int argc, char **argv)
1658 send_to_emacs (emacs_socket, " "); 1658 send_to_emacs (emacs_socket, " ");
1659 } 1659 }
1660 1660
1661 /* If using the current frame, send tty information to Emacs anyway. 1661 /* Unless we are certain we don't want to occupy the tty, send our
1662 In daemon mode, Emacs may need to occupy this tty if no other 1662 tty information to Emacs. For example, in daemon mode Emacs may
1663 frame is available. */ 1663 need to occupy this tty if no other frame is available. */
1664 if (tty || (current_frame && !eval)) 1664 if (!current_frame || !eval)
1665 { 1665 {
1666 const char *tty_type, *tty_name; 1666 const char *tty_type, *tty_name;
1667 1667