aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2007-09-20 21:26:01 +0000
committerStefan Monnier2007-09-20 21:26:01 +0000
commit597cc809d47854aa62d9a421a52a1c3b665e38f0 (patch)
treed249cd6bcdc515fedf7c7197997d4f2875a1bd26 /src
parentf76c8b1ef303f7294c0c4ef0ebe9f9032350ff65 (diff)
downloademacs-597cc809d47854aa62d9a421a52a1c3b665e38f0.tar.gz
emacs-597cc809d47854aa62d9a421a52a1c3b665e38f0.zip
(struct terminal): Make it into a pseudovector.
Remove `deleted' replaced by checking `name's nullness.
Diffstat (limited to 'src')
-rw-r--r--src/termhooks.h9
1 files 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;
318/* Terminal-local parameters. */ 318/* Terminal-local parameters. */
319struct terminal 319struct terminal
320{ 320{
321 /* The first two fields are really the header of a vector */
322 /* The terminal code does not refer to them. */
323 EMACS_INT size;
324 struct Lisp_Vector *vec_next;
325
321 /* Chain of all terminal devices. */ 326 /* Chain of all terminal devices. */
322 struct terminal *next_terminal; 327 struct terminal *next_terminal;
323 328
@@ -327,10 +332,6 @@ struct terminal
327 /* The number of frames that are on this terminal. */ 332 /* The number of frames that are on this terminal. */
328 int reference_count; 333 int reference_count;
329 334
330 /* Nonzero while deleting this terminal. Used to protect against
331 recursive calls to delete_terminal_hook. */
332 int deleted;
333
334 /* The type of the terminal device. */ 335 /* The type of the terminal device. */
335 enum output_method type; 336 enum output_method type;
336 337