diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-01 06:30:13 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-01 06:30:13 +0000 |
commit | 111c41385e3dc226850daf9152ec4c2cfe32009f (patch) | |
tree | a415f04a55c4489b55dc9efd3faa28d75c8c2487 /src | |
parent | 1bac7c84d46f3dc5de4f1eec8b0427dfe6730f2b (diff) | |
download | emacs-111c41385e3dc226850daf9152ec4c2cfe32009f.tar.gz |
(make_lispy_event): Check that ISO_FUNCTION_KEY_OFFSET is defined.
Diffstat (limited to 'src')
-rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |