aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands.h
diff options
context:
space:
mode:
authorEli Zaretskii2010-09-25 05:36:36 -0400
committerEli Zaretskii2010-09-25 05:36:36 -0400
commit41118bd30dd303cf60a70990c5347a6cfdfca1ef (patch)
treea8161184b75d6d25b31578a78ef9fae56625fe74 /src/commands.h
parentf5276b757f179ca3a97565344072422da5697c68 (diff)
downloademacs-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.h2
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;
74extern Lisp_Object unread_switch_frame; 74extern 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. */
77extern int last_point_position; 77extern 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. */
80extern Lisp_Object last_point_position_buffer; 80extern Lisp_Object last_point_position_buffer;