#define Ctl(c) ((c)&037)
-/* Define the names of keymaps, just so people can refer to
- them in calls to initial_define_key */
-
+/* Define the names of keymaps, just so people can refer to them in
+ calls to initial_define_key. These should *not* be used after
+ initialization; use-global-map doesn't affect these; it sets
+ current_global_map instead. */
extern Lisp_Object global_map;
-
extern Lisp_Object meta_map;
-
extern Lisp_Object control_x_map;
-/* Keymap for mouse commands. */
-extern Lisp_Object Vglobal_mouse_map;
-
extern Lisp_Object Vminibuffer_local_map;
extern Lisp_Object Vminibuffer_local_ns_map;
/* Last character of last key sequence. */
extern Lisp_Object last_command_char;
-/* Command character to be re-read, or -1 */
-extern int unread_command_char;
+/* Last input character read as a command, not counting menus
+ reached by the mouse. */
+extern Lisp_Object last_nonmenu_event;
+
+/* List of command events to be re-read, or Qnil. */
+extern Lisp_Object unread_command_events;
+
+/* If not Qnil, this is a switch-frame event which we decided to put
+ off until the end of a key sequence. This should be read as the
+ next command input, after any unread_command_events.
+
+ read_key_sequence uses this to delay switch-frame events until the
+ end of the key sequence; Fread_char uses it to put off switch-frame
+ events until a non-ASCII event is acceptable as input. */
+extern Lisp_Object unread_switch_frame;
/* Previous command symbol found here for comparison */
extern Lisp_Object last_command;
/* Nonzero if input is coming from the keyboard */
-#define INTERACTIVE (NULL (Vexecuting_macro) && !noninteractive)
+#define INTERACTIVE (NILP (Vexecuting_macro) && !noninteractive)
/* Set this nonzero to force reconsideration of mode line. */