]> git.eshelyaron.com Git - emacs.git/commitdiff
(make_lispy_event): Check that ISO_FUNCTION_KEY_OFFSET is defined.
authorRichard M. Stallman <rms@gnu.org>
Tue, 1 Jul 1997 06:30:13 +0000 (06:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 1 Jul 1997 06:30:13 +0000 (06:30 +0000)
src/keyboard.c

index 7cd3c570d6ce1f5f4ad7990d7f66c09ef824ebd9..edea093cd22cdab3eb005cc7a8be705d47b39b5a 100644 (file)
@@ -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,