Mercurial > emacs
changeset 16125:2e0a45264368
(syms_of_keymap): staticpro current_global_map;
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 04 Sep 1996 16:09:43 +0000 |
parents | f38128a8bb2b |
children | b14d5c46889a |
files | src/keymap.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keymap.c Wed Sep 04 15:40:46 1996 +0000 +++ b/src/keymap.c Wed Sep 04 16:09:43 1996 +0000 @@ -2720,6 +2720,9 @@ 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 @@ "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\