Commit 4e213843 authored by Stefan Monnier's avatar Stefan Monnier

(make_terminal_frame): Use terminal->name as liveness status.

parent bcc3646e
......@@ -563,8 +563,8 @@ make_terminal_frame (struct terminal *terminal)
Lisp_Object frame;
char name[20];
if (terminal->deleted)
error ("Terminal is being deleted, can't create new frames on it");
if (!terminal->name)
error ("Terminal is not live, can't create new frames on it");
f = make_frame (1);
......
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