From aaed8d4a81ed43a7154bca3c9fe624436a9d386a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 29 Oct 2021 09:23:54 +0300 Subject: [PATCH] Fix bootstrapping broken by a recent change * src/keymap.c (Flookup_key): Avoid crashes during bootstrap when uni-lowercase.el is not available yet. --- src/keymap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/keymap.c b/src/keymap.c index 2e98b059192..5ff13ba1d57 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1295,6 +1295,9 @@ recognize the default bindings, just as `read-key-sequence' does. */) if (NILP (unicode_case_table)) { unicode_case_table = uniprop_table (intern ("lowercase")); + /* uni-lowercase.el might be unavailable during bootstrap. */ + if (NILP (unicode_case_table)) + return found; staticpro (&unicode_case_table); } -- 2.39.2