# HG changeset patch # User Richard M. Stallman # Date 867738613 0 # Node ID 948557b5aa7c4edf44778fb6cec3da85a7971b72 # Parent 6f986049dff132706e6aa700b9495261b9be6886 (make_lispy_event): Check that ISO_FUNCTION_KEY_OFFSET is defined. diff -r 6f986049dff1 -r 948557b5aa7c src/keyboard.c --- a/src/keyboard.c Tue Jul 01 06:28:48 1997 +0000 +++ b/src/keyboard.c Tue Jul 01 06:30:13 1997 +0000 @@ -3746,6 +3746,7 @@ / sizeof (lispy_kana_keys[0]))); #endif /* XK_kana_A */ +#ifdef ISO_FUNCTION_KEY_OFFSET if (event->code < FUNCTION_KEY_OFFSET && event->code >= ISO_FUNCTION_KEY_OFFSET) return modify_event_symbol (event->code - ISO_FUNCTION_KEY_OFFSET, @@ -3755,6 +3756,7 @@ (sizeof (iso_lispy_function_keys) / sizeof (iso_lispy_function_keys[0]))); else +#endif return modify_event_symbol (event->code - FUNCTION_KEY_OFFSET, event->modifiers, Qfunction_key, Qnil,