* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
[bpt/emacs.git] / src / commands.h
index 2614181..4e3d67d 100644 (file)
@@ -45,8 +45,21 @@ extern Lisp_Object Vminibuffer_local_must_match_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;
+
+/* Command event to be re-read, or Qnil.  */
+extern Lisp_Object unread_command_event;
+
+/* 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_event.
+
+   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;