diff options
| author | Glenn Morris | 2009-01-09 03:29:39 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-01-09 03:29:39 +0000 |
| commit | a31e445edbbc9e629fbc62a11e1a7fc0fd9fe6c7 (patch) | |
| tree | bc3094abc16317e64039d7493fe033a644009346 | |
| parent | d293848d9d01f87cb1d827dbb32d911508960b5a (diff) | |
| download | emacs-a31e445edbbc9e629fbc62a11e1a7fc0fd9fe6c7.tar.gz emacs-a31e445edbbc9e629fbc62a11e1a7fc0fd9fe6c7.zip | |
Update for last_command_char rename.
| -rw-r--r-- | src/cmds.c | 4 | ||||
| -rw-r--r-- | src/commands.h | 6 |
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. */) | |||
| 326 | CHECK_NUMBER (n); | 326 | CHECK_NUMBER (n); |
| 327 | 327 | ||
| 328 | /* Barf if the key that invoked this was not a character. */ | 328 | /* Barf if the key that invoked this was not a character. */ |
| 329 | if (!CHARACTERP (last_command_char)) | 329 | if (!CHARACTERP (last_command_event)) |
| 330 | bitch_at_user (); | 330 | bitch_at_user (); |
| 331 | { | 331 | { |
| 332 | int character = translate_char (Vtranslation_table_for_input, | 332 | int character = translate_char (Vtranslation_table_for_input, |
| 333 | XINT (last_command_char)); | 333 | XINT (last_command_event)); |
| 334 | if (XINT (n) >= 2 && NILP (current_buffer->overwrite_mode)) | 334 | if (XINT (n) >= 2 && NILP (current_buffer->overwrite_mode)) |
| 335 | { | 335 | { |
| 336 | int modified_char = character; | 336 | 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; | |||
| 45 | and require a match */ | 45 | and require a match */ |
| 46 | extern Lisp_Object Vminibuffer_local_filename_must_match_map; | 46 | extern Lisp_Object Vminibuffer_local_filename_must_match_map; |
| 47 | 47 | ||
| 48 | /* Last character of last key sequence. */ | 48 | /* Last input event read as a command. */ |
| 49 | extern Lisp_Object last_command_char; | 49 | extern Lisp_Object last_command_event; |
| 50 | 50 | ||
| 51 | /* Last input character read as a command, not counting menus | 51 | /* Last input event read as a command, not counting menus |
| 52 | reached by the mouse. */ | 52 | reached by the mouse. */ |
| 53 | extern Lisp_Object last_nonmenu_event; | 53 | extern Lisp_Object last_nonmenu_event; |
| 54 | 54 | ||