diff options
| author | Karl Heuer | 1995-02-07 01:04:46 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-02-07 01:04:46 +0000 |
| commit | e6beaa77ad65d53bea6767d960853254812658b6 (patch) | |
| tree | e4d04e3da85157f2231d427428a63ce55145d11b | |
| parent | 55b2d45daa23b6dcb721b471bd2202c87be20820 (diff) | |
| download | emacs-e6beaa77ad65d53bea6767d960853254812658b6.tar.gz emacs-e6beaa77ad65d53bea6767d960853254812658b6.zip | |
(struct PERDISPLAY): Add Vlast_event_frame.
Define internal_last_event_frame only #if MULTI_FRAME.
Add placeholders so we don't need to rebuild every time this struct changes.
| -rw-r--r-- | src/lisp.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 48c83ad3a1c..97e21cf8b51 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -493,8 +493,25 @@ struct PERDISPLAY | |||
| 493 | PERDISPLAY *next_perdisplay; | 493 | PERDISPLAY *next_perdisplay; |
| 494 | Lisp_Object Vprefix_arg; | 494 | Lisp_Object Vprefix_arg; |
| 495 | Lisp_Object Vcurrent_prefix_arg; | 495 | Lisp_Object Vcurrent_prefix_arg; |
| 496 | Lisp_Object this_command_keys; | 496 | |
| 497 | #ifdef MULTI_FRAME | ||
| 498 | /* The frame in which the last input event occurred, or Qmacro if the | ||
| 499 | last event came from a macro. We use this to determine when to | ||
| 500 | generate switch-frame events. This may be cleared by functions | ||
| 501 | like Fselect_frame, to make sure that a switch-frame event is | ||
| 502 | generated by the next character. */ | ||
| 497 | Lisp_Object internal_last_event_frame; | 503 | Lisp_Object internal_last_event_frame; |
| 504 | #endif | ||
| 505 | |||
| 506 | /* A user-visible version of the above, intended to allow users to | ||
| 507 | figure out where the last event came from, if the event doesn't | ||
| 508 | carry that information itself (i.e. if it was a character). */ | ||
| 509 | Lisp_Object Vlast_event_frame; | ||
| 510 | |||
| 511 | /* Placeholder for future vars that will be moved here. */ | ||
| 512 | Lisp_Object unused[20]; | ||
| 513 | |||
| 514 | Lisp_Object this_command_keys; | ||
| 498 | 515 | ||
| 499 | /* Vector to GCPRO the frames and windows mentioned in kbd_buffer. | 516 | /* Vector to GCPRO the frames and windows mentioned in kbd_buffer. |
| 500 | 517 | ||