diff options
| author | Andreas Schwab | 2008-10-31 23:17:13 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-10-31 23:17:13 +0000 |
| commit | 322ca65006295d1d7d405188fa324f66b4d3ec17 (patch) | |
| tree | ca028afbbdfab749ffb31313cb76a49b54976ef4 /lib-src | |
| parent | 5c979e0255c08b9b76d96b708c133afcc3f4880c (diff) | |
| download | emacs-322ca65006295d1d7d405188fa324f66b4d3ec17.tar.gz emacs-322ca65006295d1d7d405188fa324f66b4d3ec17.zip | |
(main): Don't force sending tty when in eval mode.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 4 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 41c93d0ae67..228a579c651 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-10-31 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * emacsclient.c (main): Don't force sending tty when in eval mode. | ||
| 4 | |||
| 1 | 2008-10-30 Chong Yidong <cyd@stupidchicken.com> | 5 | 2008-10-30 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * emacsclient.c (main): If using the current frame, send tty | 7 | * emacsclient.c (main): If using the current frame, send tty |
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 0bbc385d07f..921fc2054e3 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -1440,7 +1440,7 @@ main (argc, argv) | |||
| 1440 | /* If using the current frame, send tty information to Emacs anyway. | 1440 | /* If using the current frame, send tty information to Emacs anyway. |
| 1441 | In daemon mode, Emacs may need to occupy this tty if no other | 1441 | In daemon mode, Emacs may need to occupy this tty if no other |
| 1442 | frame is available. */ | 1442 | frame is available. */ |
| 1443 | if (tty || current_frame) | 1443 | if (tty || (current_frame && !eval)) |
| 1444 | { | 1444 | { |
| 1445 | char *type = egetenv ("TERM"); | 1445 | char *type = egetenv ("TERM"); |
| 1446 | char *tty_name = NULL; | 1446 | char *tty_name = NULL; |