summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-01-09 03:29:39 +0000
committerGlenn Morris <rgm@gnu.org>2009-01-09 03:29:39 +0000
commita31e445edbbc9e629fbc62a11e1a7fc0fd9fe6c7 (patch)
treebc3094abc16317e64039d7493fe033a644009346 /src
parentd293848d9d01f87cb1d827dbb32d911508960b5a (diff)
Update for last_command_char rename.
Diffstat (limited to 'src')
-rw-r--r--src/cmds.c4
-rw-r--r--src/commands.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 31c82b2063b..60916705c97 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -326,11 +326,11 @@ Whichever character you type to run this command is inserted. */)
CHECK_NUMBER (n);
/* Barf if the key that invoked this was not a character. */
- if (!CHARACTERP (last_command_char))
+ if (!CHARACTERP (last_command_event))
bitch_at_user ();
{
int character = translate_char (Vtranslation_table_for_input,
- XINT (last_command_char));
+ XINT (last_command_event));
if (XINT (n) >= 2 && NILP (current_buffer->overwrite_mode))
{
int modified_char = character;
diff --git a/src/commands.h b/src/commands.h
index 3ade1e590cb..d5d88b804f4 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -45,10 +45,10 @@ extern Lisp_Object Vminibuffer_local_must_match_map;
and require a match */
extern Lisp_Object Vminibuffer_local_filename_must_match_map;
-/* Last character of last key sequence. */
-extern Lisp_Object last_command_char;
+/* Last input event read as a command. */
+extern Lisp_Object last_command_event;
-/* Last input character read as a command, not counting menus
+/* Last input event read as a command, not counting menus
reached by the mouse. */
extern Lisp_Object last_nonmenu_event;