aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-06-13 20:56:30 +0000
committerKarl Heuer1994-06-13 20:56:30 +0000
commitbc28c440191aca2aa19daf633c4773751810165c (patch)
tree89c444c9c977e1e942c9224f8f60e941489d124f /src
parent0ab983c80fae7ec7a868417a6fb02f4ad0f95392 (diff)
downloademacs-bc28c440191aca2aa19daf633c4773751810165c.tar.gz
emacs-bc28c440191aca2aa19daf633c4773751810165c.zip
(single_keymap_panes): gcpro some things.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index d9ab9739247..da2ca544931 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -490,7 +490,9 @@ single_keymap_panes (keymap, pane_name, prefix, notreal)
490 else 490 else
491 { 491 {
492 Lisp_Object submap; 492 Lisp_Object submap;
493 GCPRO4 (keymap, pending_maps, descrip, item_string);
493 submap = get_keymap_1 (def, 0, 1); 494 submap = get_keymap_1 (def, 0, 1);
495 UNGCPRO;
494#ifndef USE_X_TOOLKIT 496#ifndef USE_X_TOOLKIT
495 /* Indicate visually that this is a submenu. */ 497 /* Indicate visually that this is a submenu. */
496 if (!NILP (submap)) 498 if (!NILP (submap))
@@ -555,7 +557,9 @@ single_keymap_panes (keymap, pane_name, prefix, notreal)
555 else 557 else
556 { 558 {
557 Lisp_Object submap; 559 Lisp_Object submap;
560 GCPRO4 (keymap, pending_maps, descrip, item_string);
558 submap = get_keymap_1 (def, 0, 1); 561 submap = get_keymap_1 (def, 0, 1);
562 UNGCPRO;
559#ifndef USE_X_TOOLKIT 563#ifndef USE_X_TOOLKIT
560 if (!NILP (submap)) 564 if (!NILP (submap))
561 item_string = concat2 (item_string, 565 item_string = concat2 (item_string,