From 44bff953438b63c30921b9a133048c1f72d087d5 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 4 Sep 1996 16:09:43 +0000 Subject: [PATCH] (syms_of_keymap): staticpro current_global_map; --- src/keymap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/keymap.c b/src/keymap.c index 88f89cdf72b..7bfc825ec30 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -2720,6 +2720,9 @@ syms_of_keymap () Fcons (Fmake_vector (make_number (0400), Qnil), Qnil)); Fset (intern ("global-map"), global_map); + current_global_map = global_map; + staticpro (¤t_global_map); + meta_map = Fmake_keymap (Qnil); Fset (intern ("esc-map"), meta_map); Ffset (intern ("ESC-prefix"), meta_map); @@ -2750,8 +2753,6 @@ don't alter it yourself."); "Local keymap for minibuffer input with completion, for exact match."); Vminibuffer_local_must_match_map = Fmake_sparse_keymap (Qnil); - current_global_map = global_map; - DEFVAR_LISP ("minor-mode-map-alist", &Vminor_mode_map_alist, "Alist of keymaps to use for minor modes.\n\ Each element looks like (VARIABLE . KEYMAP); KEYMAP is used to read\n\ -- 2.39.2