diff options
| author | Karl Heuer | 1995-02-01 02:27:46 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-02-01 02:27:46 +0000 |
| commit | e07d7a05ddab39fc218e9b5f1ba8406e9e291d57 (patch) | |
| tree | bc88bc50b6d8d943fbe8ec202430c419e33c9b4e /src | |
| parent | 576a945c45000db6a2e0275df4c5332a74df8ca2 (diff) | |
| download | emacs-e07d7a05ddab39fc218e9b5f1ba8406e9e291d57.tar.gz emacs-e07d7a05ddab39fc218e9b5f1ba8406e9e291d57.zip | |
(current_perdisplay): New var.
(DEFVAR_DISPLAY): Add missing ampersand.
(Vprefix_arg, Vcurrent_prefix_arg): Delete; now in perdisplay.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/lisp.h b/src/lisp.h index a1fac63abdc..7e8b1f62eb4 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Fundamental definitions for GNU Emacs Lisp interpreter. | 1 | /* Fundamental definitions for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1985,86,87,93,94,95 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -489,8 +489,8 @@ typedef struct interval *INTERVAL; | |||
| 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 |
| 491 | { | 491 | { |
| 492 | Lisp_Object prefix_arg; | 492 | Lisp_Object Vprefix_arg; |
| 493 | Lisp_Object current_prefix_arg; | 493 | Lisp_Object Vcurrent_prefix_arg; |
| 494 | Lisp_Object this_command_keys; | 494 | Lisp_Object this_command_keys; |
| 495 | Lisp_Object internal_last_event_frame; | 495 | Lisp_Object internal_last_event_frame; |
| 496 | 496 | ||
| @@ -562,9 +562,14 @@ typedef struct | |||
| 562 | char echobuf[ECHOBUFSIZE]; | 562 | char echobuf[ECHOBUFSIZE]; |
| 563 | } PERDISPLAY; | 563 | } PERDISPLAY; |
| 564 | #ifdef MULTI_PERDISPLAY | 564 | #ifdef MULTI_PERDISPLAY |
| 565 | /* The perdisplay object associated with a particular frame. */ | ||
| 565 | extern PERDISPLAY *get_perdisplay (); | 566 | extern PERDISPLAY *get_perdisplay (); |
| 567 | |||
| 568 | /* The perdisplay object associated with the currently executing command. */ | ||
| 569 | extern PERDISPLAY *current_perdisplay; | ||
| 566 | #else | 570 | #else |
| 567 | extern PERDISPLAY the_only_perdisplay; | 571 | extern PERDISPLAY the_only_perdisplay; |
| 572 | #define current_perdisplay (&the_only_perdisplay) | ||
| 568 | #define get_perdisplay(f) (&the_only_perdisplay) | 573 | #define get_perdisplay(f) (&the_only_perdisplay) |
| 569 | #endif | 574 | #endif |
| 570 | 575 | ||
| @@ -1155,7 +1160,7 @@ extern void defvar_int (); | |||
| 1155 | defvar_per_buffer (lname, vname, type, 0) | 1160 | defvar_per_buffer (lname, vname, type, 0) |
| 1156 | #define DEFVAR_DISPLAY(lname, vname, doc) \ | 1161 | #define DEFVAR_DISPLAY(lname, vname, doc) \ |
| 1157 | defvar_display (lname, \ | 1162 | defvar_display (lname, \ |
| 1158 | (int)((char *)(get_perdisplay (selected_frame)->vname) \ | 1163 | (int)((char *)(&get_perdisplay (selected_frame)->vname) \ |
| 1159 | - (char *)get_perdisplay (selected_frame))) | 1164 | - (char *)get_perdisplay (selected_frame))) |
| 1160 | 1165 | ||
| 1161 | /* Structure for recording Lisp call stack for backtrace purposes. */ | 1166 | /* Structure for recording Lisp call stack for backtrace purposes. */ |
| @@ -1594,7 +1599,7 @@ extern Lisp_Object Fread_no_blanks_input (); | |||
| 1594 | 1599 | ||
| 1595 | /* Defined in callint.c */ | 1600 | /* Defined in callint.c */ |
| 1596 | 1601 | ||
| 1597 | extern Lisp_Object Vprefix_arg, Qminus, Qplus, Vcurrent_prefix_arg; | 1602 | extern Lisp_Object Qminus, Qplus; |
| 1598 | extern Lisp_Object Vcommand_history; | 1603 | extern Lisp_Object Vcommand_history; |
| 1599 | extern Lisp_Object Qcall_interactively; | 1604 | extern Lisp_Object Qcall_interactively; |
| 1600 | extern Lisp_Object Fcall_interactively (); | 1605 | extern Lisp_Object Fcall_interactively (); |