# HG changeset patch # User Stefan Monnier # Date 1190323561 0 # Node ID 920b65c5b922024018c66756114834dda396a7c9 # Parent 8ef41e809922c4888e4836e0c4aa881a846cc2fd (struct terminal): Make it into a pseudovector. Remove `deleted' replaced by checking `name's nullness. diff -r 8ef41e809922 -r 920b65c5b922 src/termhooks.h --- a/src/termhooks.h Thu Sep 20 21:24:47 2007 +0000 +++ b/src/termhooks.h Thu Sep 20 21:26:01 2007 +0000 @@ -318,6 +318,11 @@ /* 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 @@ /* 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;