mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
(main): Don't force sending tty when in eval mode.
This commit is contained in:
parent
5c979e0255
commit
322ca65006
2 changed files with 5 additions and 1 deletions
|
|
@ -1440,7 +1440,7 @@ main (argc, argv)
|
|||
/* 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)
|
||||
if (tty || (current_frame && !eval))
|
||||
{
|
||||
char *type = egetenv ("TERM");
|
||||
char *tty_name = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue