Mercurial > emacs
diff src/commands.h @ 110559:9c63d46e000c
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.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 25 Sep 2010 05:36:36 -0400 |
parents | 1d1d5d9bd884 |
children | 417b1e4d63cd |
line wrap: on
line diff
--- a/src/commands.h Sat Sep 25 03:44:43 2010 -0400 +++ b/src/commands.h Sat Sep 25 05:36:36 2010 -0400 @@ -74,7 +74,7 @@ extern Lisp_Object unread_switch_frame; /* The value of point when the last command was started. */ -extern int last_point_position; +extern EMACS_INT last_point_position; /* The buffer that was current when the last command was started. */ extern Lisp_Object last_point_position_buffer;