summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-02-24 02:26:46 +0000
committerKarl Heuer <kwzh@gnu.org>1995-02-24 02:26:46 +0000
commita6e1a27d5a0ff777c76afd02654d218ca21e3af4 (patch)
tree6c851f4f056f5ff35dc2aa87e67d41036579e8ba /src/lisp.h
parent520cbd79d1d09bb6a85922769a82be337e0530cc (diff)
downloademacs-a6e1a27d5a0ff777c76afd02654d218ca21e3af4.tar.gz
(display_locked): Declare this var.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index ba2d3d8d415..a006dd33476 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -536,16 +536,22 @@ struct PERDISPLAY
/* The perdisplay object associated with a particular frame. */
extern PERDISPLAY *get_perdisplay ();
-/* The perdisplay object associated with the currently executing command. */
+/* The perdisplay object associated with the command currently being read
+ or executed. */
extern PERDISPLAY *current_perdisplay;
/* A list of all perdisplay objects, linked through next_perdisplay. */
extern PERDISPLAY *all_perdisplays;
+
+/* Nonzero if current_perdisplay has exclusive use of the keyboard.
+ Usually this means that a command is being executed. */
+extern int display_locked;
#else
extern PERDISPLAY the_only_perdisplay;
#define get_perdisplay(f) (&the_only_perdisplay)
#define current_perdisplay (&the_only_perdisplay)
#define all_perdisplays (&the_only_perdisplay)
+#define display_locked 1
#endif
/* In a cons, the markbit of the car is the gc mark bit */