From: Eli Zaretskii Date: Fri, 29 Oct 2021 06:23:54 +0000 (+0300) Subject: Fix bootstrapping broken by a recent change X-Git-Tag: emacs-29.0.90~3671^2~367 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aaed8d4a81ed43a7154bca3c9fe624436a9d386a;p=emacs.git Fix bootstrapping broken by a recent change * src/keymap.c (Flookup_key): Avoid crashes during bootstrap when uni-lowercase.el is not available yet. --- 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); }