From 111c41385e3dc226850daf9152ec4c2cfe32009f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 1 Jul 1997 06:30:13 +0000 Subject: [PATCH] (make_lispy_event): Check that ISO_FUNCTION_KEY_OFFSET is defined. --- src/keyboard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/keyboard.c b/src/keyboard.c index 7cd3c570d6c..edea093cd22 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3746,6 +3746,7 @@ make_lispy_event (event) / 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 @@ make_lispy_event (event) (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, -- 2.39.2