From: Stefan Monnier Date: Thu, 20 Sep 2007 21:21:27 +0000 (+0000) Subject: (make_terminal_frame): Use terminal->name as liveness status. X-Git-Tag: emacs-pretest-23.0.90~10808 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e213843485cac239ba74a13c3ef7ca19c23c936;p=emacs.git (make_terminal_frame): Use terminal->name as liveness status. --- diff --git a/src/frame.c b/src/frame.c index affe9180fda..4a526c040d5 100644 --- a/src/frame.c +++ b/src/frame.c @@ -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);