diff options
| author | Karl Heuer | 1995-01-25 07:18:37 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-01-25 07:18:37 +0000 |
| commit | f6064cbe2f3682cce21e6d8063afbd32aaa3ce25 (patch) | |
| tree | 6bc48c4371c9222ab7b6174c4ef71703027473f1 /src/lisp.h | |
| parent | 17d02632dd61ff1a42ac8461684f4dff5ecfc7cf (diff) | |
| download | emacs-f6064cbe2f3682cce21e6d8063afbd32aaa3ce25.tar.gz emacs-f6064cbe2f3682cce21e6d8063afbd32aaa3ce25.zip | |
(PERD): New struct containing per-display data.
(the_only_perd): An instance of it.
(get_perd): Macro to retrieve it.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index 937e5315083..1adf5433863 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -483,6 +483,26 @@ typedef struct interval *INTERVAL; | |||
| 483 | 483 | ||
| 484 | #endif /* USE_TEXT_PROPERTIES */ | 484 | #endif /* USE_TEXT_PROPERTIES */ |
| 485 | 485 | ||
| 486 | /* All of the per-display objects, packaged together in a struct. */ | ||
| 487 | typedef struct | ||
| 488 | { | ||
| 489 | Lisp_Object prefix_arg; | ||
| 490 | Lisp_Object current_prefix_arg; | ||
| 491 | Lisp_Object this_command_keys; | ||
| 492 | Lisp_Object internal_last_event_frame; | ||
| 493 | Lisp_Object kbd_buffer_frame_or_window; | ||
| 494 | struct input_event *kbd_buffer; | ||
| 495 | struct input_event *kbd_fetch_ptr; | ||
| 496 | struct input_event *kbd_store_ptr; | ||
| 497 | int this_command_key_count; | ||
| 498 | int immediate_echo; | ||
| 499 | int echo_after_prompt; | ||
| 500 | char *echoptr; | ||
| 501 | char echobuf[300]; | ||
| 502 | } PERD; | ||
| 503 | extern PERD the_only_perd; | ||
| 504 | #define get_perd(f) (&the_only_perd) | ||
| 505 | |||
| 486 | /* In a cons, the markbit of the car is the gc mark bit */ | 506 | /* In a cons, the markbit of the car is the gc mark bit */ |
| 487 | 507 | ||
| 488 | struct Lisp_Cons | 508 | struct Lisp_Cons |