]> code.delx.au - gnu-emacs/commitdiff
(restore_menu_items, cleanup_popup_menu): Return a value.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 5 May 2006 06:44:10 +0000 (06:44 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 5 May 2006 06:44:10 +0000 (06:44 +0000)
src/macmenu.c

index be565f892597a9065924723d88182efcc0c221db..e7d69d5657c017381ba1702181d79fe249c1bb43 100644 (file)
@@ -318,6 +318,7 @@ restore_menu_items (saved)
   menu_items_n_panes = XINT (XCAR (saved));
   saved = XCDR (saved);  
   menu_items_submenu_depth = XINT (XCAR (saved));
+  return Qnil;
 }
 
 /* Push the whole state of menu_items processing onto the specpdl.
@@ -634,6 +635,7 @@ cleanup_popup_menu (arg)
      Lisp_Object arg;
 {
   discard_menu_items ();
+  return Qnil;
 }
 
 DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0,