Commit 3f005256 authored by Richard M. Stallman's avatar Richard M. Stallman

(make_terminal_frame): Use Emacs, Emacs-2, ... as name.

parent 03b294dc
......@@ -353,9 +353,16 @@ make_terminal_frame ()
Vframe_list = Fcons (frame, Vframe_list);
terminal_frame_count++;
sprintf (name, "terminal-%d", terminal_frame_count);
if (terminal_frame_count == 1)
{
f->name = build_string ("Emacs");
}
else
{
sprintf (name, "Emacs-%d", terminal_frame_count);
f->name = build_string (name);
}
f->visible = 1; /* FRAME_SET_VISIBLE wd set frame_garbaged. */
f->async_visible = 1; /* Don't let visible be cleared later. */
f->display.nothing = 1; /* Nonzero means frame isn't deleted. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment