diff options
| author | Karl Heuer | 1995-02-03 22:21:07 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-02-03 22:21:07 +0000 |
| commit | a2d3b8ba7cfee3837bb2ed0413634117f6ddeba9 (patch) | |
| tree | f2073d8cff1f1b000b5d395195988d3ab619494f /src/lisp.h | |
| parent | 4dc85e8910cfb3e58a99ed1d94c24e327fe3bcc6 (diff) | |
| download | emacs-a2d3b8ba7cfee3837bb2ed0413634117f6ddeba9.tar.gz emacs-a2d3b8ba7cfee3837bb2ed0413634117f6ddeba9.zip | |
(all_perdisplays): New var.
(struct PERDISPLAY): New member next_perdisplay.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/lisp.h b/src/lisp.h index 6c7f1d999c6..48c83ad3a1c 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -487,8 +487,10 @@ typedef struct interval *INTERVAL; | |||
| 487 | 487 | ||
| 488 | #define ECHOBUFSIZE 300 | 488 | #define ECHOBUFSIZE 300 |
| 489 | /* All of the per-display objects, packaged together in a struct. */ | 489 | /* All of the per-display objects, packaged together in a struct. */ |
| 490 | typedef struct | 490 | typedef struct PERDISPLAY PERDISPLAY; |
| 491 | struct PERDISPLAY | ||
| 491 | { | 492 | { |
| 493 | PERDISPLAY *next_perdisplay; | ||
| 492 | Lisp_Object Vprefix_arg; | 494 | Lisp_Object Vprefix_arg; |
| 493 | Lisp_Object Vcurrent_prefix_arg; | 495 | Lisp_Object Vcurrent_prefix_arg; |
| 494 | Lisp_Object this_command_keys; | 496 | Lisp_Object this_command_keys; |
| @@ -560,17 +562,22 @@ typedef struct | |||
| 560 | /* The text we're echoing in the modeline - partial key sequences, | 562 | /* The text we're echoing in the modeline - partial key sequences, |
| 561 | usually. '\0'-terminated. This really shouldn't have a fixed size. */ | 563 | usually. '\0'-terminated. This really shouldn't have a fixed size. */ |
| 562 | char echobuf[ECHOBUFSIZE]; | 564 | char echobuf[ECHOBUFSIZE]; |
| 563 | } PERDISPLAY; | 565 | }; |
| 566 | |||
| 564 | #ifdef MULTI_PERDISPLAY | 567 | #ifdef MULTI_PERDISPLAY |
| 565 | /* The perdisplay object associated with a particular frame. */ | 568 | /* The perdisplay object associated with a particular frame. */ |
| 566 | extern PERDISPLAY *get_perdisplay (); | 569 | extern PERDISPLAY *get_perdisplay (); |
| 567 | 570 | ||
| 568 | /* The perdisplay object associated with the currently executing command. */ | 571 | /* The perdisplay object associated with the currently executing command. */ |
| 569 | extern PERDISPLAY *current_perdisplay; | 572 | extern PERDISPLAY *current_perdisplay; |
| 573 | |||
| 574 | /* A list of all perdisplay objects, linked through next_perdisplay. */ | ||
| 575 | extern PERDISPLAY *all_perdisplays; | ||
| 570 | #else | 576 | #else |
| 571 | extern PERDISPLAY the_only_perdisplay; | 577 | extern PERDISPLAY the_only_perdisplay; |
| 572 | #define current_perdisplay (&the_only_perdisplay) | ||
| 573 | #define get_perdisplay(f) (&the_only_perdisplay) | 578 | #define get_perdisplay(f) (&the_only_perdisplay) |
| 579 | #define current_perdisplay (&the_only_perdisplay) | ||
| 580 | #define all_perdisplays (&the_only_perdisplay) | ||
| 574 | #endif | 581 | #endif |
| 575 | 582 | ||
| 576 | /* In a cons, the markbit of the car is the gc mark bit */ | 583 | /* In a cons, the markbit of the car is the gc mark bit */ |