diff options
| author | Eli Zaretskii | 2010-09-25 05:36:36 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2010-09-25 05:36:36 -0400 |
| commit | 41118bd30dd303cf60a70990c5347a6cfdfca1ef (patch) | |
| tree | a8161184b75d6d25b31578a78ef9fae56625fe74 /src/commands.h | |
| parent | f5276b757f179ca3a97565344072422da5697c68 (diff) | |
| download | emacs-41118bd30dd303cf60a70990c5347a6cfdfca1ef.tar.gz emacs-41118bd30dd303cf60a70990c5347a6cfdfca1ef.zip | |
Fix int/EMACS_INT use in keyboard.c.
keyboard.c <last_point_position, last_non_minibuf_size>: Declare EMACS_INT.
(echo_truncate, adjust_point_for_property, read_char)
(gen_help_event, make_lispy_event, modify_event_symbol)
(Fexecute_extended_command, stuff_buffered_input): Use EMACS_INT
for buffer positions and string length.
keyboard.h (gen_help_event): Adjust prototype.
termhooks.h <struct input_event>: Make `code' member EMACS_INT.
commands.h <last_point_position>: Declare EMACS_INT.
xdisp.c <help_echo_pos>: Define as EMACS_INT.
(truncate_echo_area): Accept EMACS_INT argument.
dispextern.h <help_echo_pos>: Declare EMACS_INT.
lisp.h (truncate_echo_area): Adjust prototype.
composite.c (composition_adjust_point): Return EMACS_INT.
composite.h (composition_adjust_point): Adjust prototype.
Diffstat (limited to 'src/commands.h')
| -rw-r--r-- | src/commands.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.h b/src/commands.h index 52136428eee..6b22da8ba15 100644 --- a/src/commands.h +++ b/src/commands.h | |||
| @@ -74,7 +74,7 @@ extern Lisp_Object Vthis_command; | |||
| 74 | extern Lisp_Object unread_switch_frame; | 74 | extern Lisp_Object unread_switch_frame; |
| 75 | 75 | ||
| 76 | /* The value of point when the last command was started. */ | 76 | /* The value of point when the last command was started. */ |
| 77 | extern int last_point_position; | 77 | extern EMACS_INT last_point_position; |
| 78 | 78 | ||
| 79 | /* The buffer that was current when the last command was started. */ | 79 | /* The buffer that was current when the last command was started. */ |
| 80 | extern Lisp_Object last_point_position_buffer; | 80 | extern Lisp_Object last_point_position_buffer; |