summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-03-25 23:49:50 +0000
committerRichard M. Stallman <rms@gnu.org>1994-03-25 23:49:50 +0000
commit35c791cdeadffa0712c82616d4a7d8fdd0350c82 (patch)
tree8ff02ef41eacde9b0abe04cee1648cb4c93a0f63 /src/commands.h
parent6799c3f9acde1b77108492efbdb62ed0e858ab3c (diff)
downloademacs-35c791cdeadffa0712c82616d4a7d8fdd0350c82.tar.gz
(this_command, last_command): Declared.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h
index 65f16e84989..7ac163f0637 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -48,6 +48,16 @@ extern Lisp_Object last_nonmenu_event;
/* List of command events to be re-read, or Qnil. */
extern Lisp_Object unread_command_events;
+/* Last command executed by the editor command loop, not counting
+ commands that set the prefix argument. */
+
+extern Lisp_Object last_command;
+
+/* The command being executed by the command loop.
+ Commands may set this, and the value set will be copied into last_command
+ instead of the actual command. */
+extern Lisp_Object this_command;
+
/* 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.