From 597cc809d47854aa62d9a421a52a1c3b665e38f0 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 20 Sep 2007 21:26:01 +0000 Subject: [PATCH] (struct terminal): Make it into a pseudovector. Remove `deleted' replaced by checking `name's nullness. --- src/termhooks.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/termhooks.h b/src/termhooks.h index 96ea5d79514..c4b3839f972 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -318,6 +318,11 @@ struct w32_display_info; /* Terminal-local parameters. */ struct terminal { + /* The first two fields are really the header of a vector */ + /* The terminal code does not refer to them. */ + EMACS_INT size; + struct Lisp_Vector *vec_next; + /* Chain of all terminal devices. */ struct terminal *next_terminal; @@ -327,10 +332,6 @@ struct terminal /* The number of frames that are on this terminal. */ int reference_count; - /* Nonzero while deleting this terminal. Used to protect against - recursive calls to delete_terminal_hook. */ - int deleted; - /* The type of the terminal device. */ enum output_method type; -- 2.39.2