diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/keyboard.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ab821226fa4..f8482b26d18 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-06-13 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * keyboard.c (modify_event_symbol): Don't limit alist len to UINT_MAX. | ||
| 4 | |||
| 3 | * lisp.h (CHAR_TABLE_SET): Omit now-redundant test. | 5 | * lisp.h (CHAR_TABLE_SET): Omit now-redundant test. |
| 4 | 6 | ||
| 5 | * lread.c (Fload): Don't compare a possibly-garbage time_t value. | 7 | * lread.c (Fload): Don't compare a possibly-garbage time_t value. |
diff --git a/src/keyboard.c b/src/keyboard.c index 0d2761f1aa3..20ad7d0ce95 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -448,7 +448,7 @@ static Lisp_Object make_lispy_movement (struct frame *, Lisp_Object, | |||
| 448 | #endif | 448 | #endif |
| 449 | static Lisp_Object modify_event_symbol (EMACS_INT, unsigned, Lisp_Object, | 449 | static Lisp_Object modify_event_symbol (EMACS_INT, unsigned, Lisp_Object, |
| 450 | Lisp_Object, const char *const *, | 450 | Lisp_Object, const char *const *, |
| 451 | Lisp_Object *, unsigned); | 451 | Lisp_Object *, EMACS_INT); |
| 452 | static Lisp_Object make_lispy_switch_frame (Lisp_Object); | 452 | static Lisp_Object make_lispy_switch_frame (Lisp_Object); |
| 453 | static int help_char_p (Lisp_Object); | 453 | static int help_char_p (Lisp_Object); |
| 454 | static void save_getcjmp (jmp_buf); | 454 | static void save_getcjmp (jmp_buf); |
| @@ -5391,7 +5391,7 @@ make_lispy_event (struct input_event *event) | |||
| 5391 | Qfunction_key, | 5391 | Qfunction_key, |
| 5392 | KVAR (current_kboard, Vsystem_key_alist), | 5392 | KVAR (current_kboard, Vsystem_key_alist), |
| 5393 | 0, &KVAR (current_kboard, system_key_syms), | 5393 | 0, &KVAR (current_kboard, system_key_syms), |
| 5394 | (unsigned) -1); | 5394 | TYPE_MAXIMUM (EMACS_INT)); |
| 5395 | } | 5395 | } |
| 5396 | 5396 | ||
| 5397 | return modify_event_symbol (event->code - FUNCTION_KEY_OFFSET, | 5397 | return modify_event_symbol (event->code - FUNCTION_KEY_OFFSET, |
| @@ -6410,7 +6410,7 @@ reorder_modifiers (Lisp_Object symbol) | |||
| 6410 | static Lisp_Object | 6410 | static Lisp_Object |
| 6411 | modify_event_symbol (EMACS_INT symbol_num, unsigned int modifiers, Lisp_Object symbol_kind, | 6411 | modify_event_symbol (EMACS_INT symbol_num, unsigned int modifiers, Lisp_Object symbol_kind, |
| 6412 | Lisp_Object name_alist_or_stem, const char *const *name_table, | 6412 | Lisp_Object name_alist_or_stem, const char *const *name_table, |
| 6413 | Lisp_Object *symbol_table, unsigned int table_size) | 6413 | Lisp_Object *symbol_table, EMACS_INT table_size) |
| 6414 | { | 6414 | { |
| 6415 | Lisp_Object value; | 6415 | Lisp_Object value; |
| 6416 | Lisp_Object symbol_int; | 6416 | Lisp_Object symbol_int; |