changeset 6536:4fa1c2b2f1e9

(this_command, last_command): Declared.
author Richard M. Stallman <rms@gnu.org>
date Fri, 25 Mar 1994 23:49:50 +0000
parents 01db0be5fec8
children f5ab0b6b9640
files src/commands.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/commands.h	Fri Mar 25 22:59:12 1994 +0000
+++ b/src/commands.h	Fri Mar 25 23:49:50 1994 +0000
@@ -48,6 +48,16 @@
 /* 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.