summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-02-03 22:21:07 +0000
committerKarl Heuer <kwzh@gnu.org>1995-02-03 22:21:07 +0000
commit41ee52d78910d80305ea2b7bb40b060bee24771e (patch)
treeebdbe2eb38f17202e3d95f1cd90c2942def5efd2
parentdd6f6e603fd0d99670083c520c98a83d96cbd82d (diff)
downloademacs-41ee52d78910d80305ea2b7bb40b060bee24771e.tar.gz
(all_perdisplays): New var.
(struct PERDISPLAY): New member next_perdisplay.
-rw-r--r--src/lisp.h13
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;
#define ECHOBUFSIZE 300
/* All of the per-display objects, packaged together in a struct. */
-typedef struct
+typedef struct PERDISPLAY PERDISPLAY;
+struct PERDISPLAY
{
+ PERDISPLAY *next_perdisplay;
Lisp_Object Vprefix_arg;
Lisp_Object Vcurrent_prefix_arg;
Lisp_Object this_command_keys;
@@ -560,17 +562,22 @@ typedef struct
/* The text we're echoing in the modeline - partial key sequences,
usually. '\0'-terminated. This really shouldn't have a fixed size. */
char echobuf[ECHOBUFSIZE];
- } PERDISPLAY;
+ };
+
#ifdef MULTI_PERDISPLAY
/* The perdisplay object associated with a particular frame. */
extern PERDISPLAY *get_perdisplay ();
/* The perdisplay object associated with the currently executing command. */
extern PERDISPLAY *current_perdisplay;
+
+/* A list of all perdisplay objects, linked through next_perdisplay. */
+extern PERDISPLAY *all_perdisplays;
#else
extern PERDISPLAY the_only_perdisplay;
-#define current_perdisplay (&the_only_perdisplay)
#define get_perdisplay(f) (&the_only_perdisplay)
+#define current_perdisplay (&the_only_perdisplay)
+#define all_perdisplays (&the_only_perdisplay)
#endif
/* In a cons, the markbit of the car is the gc mark bit */