changeset 84691:920b65c5b922

(struct terminal): Make it into a pseudovector. Remove `deleted' replaced by checking `name's nullness.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 20 Sep 2007 21:26:01 +0000
parents 8ef41e809922
children 0d8dd9a91520
files src/termhooks.h
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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;