From: Richard M. Stallman Date: Tue, 1 Jul 1997 06:30:13 +0000 (+0000) Subject: (make_lispy_event): Check that ISO_FUNCTION_KEY_OFFSET is defined. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~80560 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=111c41385e3dc226850daf9152ec4c2cfe32009f;p=emacs.git (make_lispy_event): Check that ISO_FUNCTION_KEY_OFFSET is defined. --- 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,