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 | e3dfcd4ea97349e1a7407d1b9522b9135f64d536 (patch) | |
| tree | f39ef3e44037e8c55228f7f7dbb540a6039dea8f /src/keymap.c | |
| parent | f88480e30dfb849fdde4237b386f9e7166fe0ecf (diff) | |
| download | emacs-e3dfcd4ea97349e1a7407d1b9522b9135f64d536.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); |
