comparison src/commands.h @ 12162:f670e669470b

(last_command): Var deleted; now part of struct kboard.
author Karl Heuer <kwzh@gnu.org>
date Fri, 09 Jun 1995 03:04:43 +0000
parents cd8665daa5a8
children ac7375e60931
comparison
equal deleted inserted replaced
12161:32f80fdaeed9 12162:f670e669470b
50 50
51 /* Command char event to be re-read, or -1 if none. 51 /* Command char event to be re-read, or -1 if none.
52 Setting this is obsolete, but some things should still check it. */ 52 Setting this is obsolete, but some things should still check it. */
53 extern int unread_command_char; 53 extern int unread_command_char;
54 54
55 /* Last command executed by the editor command loop, not counting
56 commands that set the prefix argument. */
57
58 extern Lisp_Object last_command;
59
60 /* The command being executed by the command loop. 55 /* The command being executed by the command loop.
61 Commands may set this, and the value set will be copied into last_command 56 Commands may set this, and the value set will be copied into
62 instead of the actual command. */ 57 current_kboard->Vlast_command instead of the actual command. */
63 extern Lisp_Object this_command; 58 extern Lisp_Object this_command;
64 59
65 /* If not Qnil, this is a switch-frame event which we decided to put 60 /* If not Qnil, this is a switch-frame event which we decided to put
66 off until the end of a key sequence. This should be read as the 61 off until the end of a key sequence. This should be read as the
67 next command input, after any Vunread_command_events. 62 next command input, after any Vunread_command_events.
68 63
69 read_key_sequence uses this to delay switch-frame events until the 64 read_key_sequence uses this to delay switch-frame events until the
70 end of the key sequence; Fread_char uses it to put off switch-frame 65 end of the key sequence; Fread_char uses it to put off switch-frame
71 events until a non-ASCII event is acceptable as input. */ 66 events until a non-ASCII event is acceptable as input. */
72 extern Lisp_Object unread_switch_frame; 67 extern Lisp_Object unread_switch_frame;
73
74 /* Previous command symbol found here for comparison */
75 extern Lisp_Object last_command;
76 68
77 /* The value of point when the last command was executed. */ 69 /* The value of point when the last command was executed. */
78 extern int last_point_position; 70 extern int last_point_position;
79 71
80 /* The buffer that was current when the last command was started. */ 72 /* The buffer that was current when the last command was started. */