diff options
| author | Richard M. Stallman | 1997-07-01 06:30:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-01 06:30:13 +0000 |
| commit | 111c41385e3dc226850daf9152ec4c2cfe32009f (patch) | |
| tree | a415f04a55c4489b55dc9efd3faa28d75c8c2487 /src | |
| parent | 1bac7c84d46f3dc5de4f1eec8b0427dfe6730f2b (diff) | |
| download | emacs-111c41385e3dc226850daf9152ec4c2cfe32009f.tar.gz emacs-111c41385e3dc226850daf9152ec4c2cfe32009f.zip | |
(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) | |||
| 3746 | / sizeof (lispy_kana_keys[0]))); | 3746 | / sizeof (lispy_kana_keys[0]))); |
| 3747 | #endif /* XK_kana_A */ | 3747 | #endif /* XK_kana_A */ |
| 3748 | 3748 | ||
| 3749 | #ifdef ISO_FUNCTION_KEY_OFFSET | ||
| 3749 | if (event->code < FUNCTION_KEY_OFFSET | 3750 | if (event->code < FUNCTION_KEY_OFFSET |
| 3750 | && event->code >= ISO_FUNCTION_KEY_OFFSET) | 3751 | && event->code >= ISO_FUNCTION_KEY_OFFSET) |
| 3751 | return modify_event_symbol (event->code - ISO_FUNCTION_KEY_OFFSET, | 3752 | return modify_event_symbol (event->code - ISO_FUNCTION_KEY_OFFSET, |
| @@ -3755,6 +3756,7 @@ make_lispy_event (event) | |||
| 3755 | (sizeof (iso_lispy_function_keys) | 3756 | (sizeof (iso_lispy_function_keys) |
| 3756 | / sizeof (iso_lispy_function_keys[0]))); | 3757 | / sizeof (iso_lispy_function_keys[0]))); |
| 3757 | else | 3758 | else |
| 3759 | #endif | ||
| 3758 | return modify_event_symbol (event->code - FUNCTION_KEY_OFFSET, | 3760 | return modify_event_symbol (event->code - FUNCTION_KEY_OFFSET, |
| 3759 | event->modifiers, | 3761 | event->modifiers, |
| 3760 | Qfunction_key, Qnil, | 3762 | Qfunction_key, Qnil, |