diff options
| author | Stefan Monnier | 2007-09-20 21:26:01 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-09-20 21:26:01 +0000 |
| commit | 597cc809d47854aa62d9a421a52a1c3b665e38f0 (patch) | |
| tree | d249cd6bcdc515fedf7c7197997d4f2875a1bd26 /src | |
| parent | f76c8b1ef303f7294c0c4ef0ebe9f9032350ff65 (diff) | |
| download | emacs-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.h | 9 |
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. */ |
| 319 | struct terminal | 319 | struct 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 | ||