diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-04-29 02:51:44 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-04-29 02:51:44 +0000 |
commit | b917e794ffd9463bc2dac36524bf99d5f41e59e5 (patch) | |
tree | a363988adf3d8946da7433951480c7b6d92843ea /src/keymap.c | |
parent | 74c9ad37b7c02463ca8b5b2a7dc1a27889e7065e (diff) | |
download | emacs-b917e794ffd9463bc2dac36524bf99d5f41e59e5.tar.gz |
(describe_map_tree): gcpro some things.
Diffstat (limited to 'src/keymap.c')
-rw-r--r-- | src/keymap.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/keymap.c b/src/keymap.c index 55745ffcb39..932aace2782 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1881,8 +1881,8 @@ describe_map_tree (startmap, partial, shadow, prefix, title, nomenu) char *title; int nomenu; { - Lisp_Object maps, seen; - struct gcpro gcpro1, gcpro2; + Lisp_Object maps, seen, sub_shadows; + struct gcpro gcpro1, gcpro2, gcpro3; int something = 0; char *key_heading = "\ @@ -1891,7 +1891,8 @@ key binding\n\ maps = Faccessible_keymaps (startmap, prefix); seen = Qnil; - GCPRO2 (maps, seen); + sub_shadows = Qnil; + GCPRO3 (maps, seen, sub_shadows); if (nomenu) { @@ -1931,7 +1932,7 @@ key binding\n\ for (; !NILP (maps); maps = Fcdr (maps)) { - register Lisp_Object elt, prefix, sub_shadows, tail; + register Lisp_Object elt, prefix, tail; elt = Fcar (maps); prefix = Fcar (elt); |