Mercurial > emacs
comparison src/keymap.c @ 7184:caac285c072d
(describe_map_tree): gcpro some things.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Fri, 29 Apr 1994 02:51:44 +0000 |
| parents | b96377c0e49d |
| children | 092688f7ebbb |
comparison
equal
deleted
inserted
replaced
| 7183:b96377c0e49d | 7184:caac285c072d |
|---|---|
| 1879 Lisp_Object startmap, shadow, prefix; | 1879 Lisp_Object startmap, shadow, prefix; |
| 1880 int partial; | 1880 int partial; |
| 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 = "\ |
| 1889 key binding\n\ | 1889 key binding\n\ |
| 1890 --- -------\n"; | 1890 --- -------\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 { |
| 1898 Lisp_Object list; | 1899 Lisp_Object list; |
| 1899 | 1900 |
| 1929 something = 1; | 1930 something = 1; |
| 1930 } | 1931 } |
| 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); |
| 1938 | 1939 |
| 1939 sub_shadows = Qnil; | 1940 sub_shadows = Qnil; |
