aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorKarl Heuer1994-04-29 02:51:44 +0000
committerKarl Heuer1994-04-29 02:51:44 +0000
commite3dfcd4ea97349e1a7407d1b9522b9135f64d536 (patch)
treef39ef3e44037e8c55228f7f7dbb540a6039dea8f /src/keymap.c
parentf88480e30dfb849fdde4237b386f9e7166fe0ecf (diff)
downloademacs-e3dfcd4ea97349e1a7407d1b9522b9135f64d536.tar.gz
emacs-e3dfcd4ea97349e1a7407d1b9522b9135f64d536.zip
(describe_map_tree): gcpro some things.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c9
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)
1881 char *title; 1881 char *title;
1882 int nomenu; 1882 int nomenu;
1883{ 1883{
1884 Lisp_Object maps, seen; 1884 Lisp_Object maps, seen, sub_shadows;
1885 struct gcpro gcpro1, gcpro2; 1885 struct gcpro gcpro1, gcpro2, gcpro3;
1886 int something = 0; 1886 int something = 0;
1887 char *key_heading 1887 char *key_heading
1888 = "\ 1888 = "\
@@ -1891,7 +1891,8 @@ key binding\n\
1891 1891
1892 maps = Faccessible_keymaps (startmap, prefix); 1892 maps = Faccessible_keymaps (startmap, prefix);
1893 seen = Qnil; 1893 seen = Qnil;
1894 GCPRO2 (maps, seen); 1894 sub_shadows = Qnil;
1895 GCPRO3 (maps, seen, sub_shadows);
1895 1896
1896 if (nomenu) 1897 if (nomenu)
1897 { 1898 {
@@ -1931,7 +1932,7 @@ key binding\n\
1931 1932
1932 for (; !NILP (maps); maps = Fcdr (maps)) 1933 for (; !NILP (maps); maps = Fcdr (maps))
1933 { 1934 {
1934 register Lisp_Object elt, prefix, sub_shadows, tail; 1935 register Lisp_Object elt, prefix, tail;
1935 1936
1936 elt = Fcar (maps); 1937 elt = Fcar (maps);
1937 prefix = Fcar (elt); 1938 prefix = Fcar (elt);