changeset 21527:39c919d2a8be

(parse_menu_item): Don't GCPRO non-lisp variables.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 13:01:59 +0000
parents fff9425b9230
children cabecb23d48c
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Tue Apr 14 13:01:05 1998 +0000
+++ b/src/keyboard.c	Tue Apr 14 13:01:59 1998 +0000
@@ -5570,7 +5570,7 @@
   if (!CONSP (item))
     return 0;
 
-  GCPRO3 (item, notreal, inmenubar);
+  GCPRO1 (item);
 
   /* Create item_properties vector if necessary.  */
   if (NILP (item_properties))
@@ -7899,7 +7899,7 @@
   /* sys_suspend can get an error if it tries to fork a subshell
      and the system resources aren't available for that.  */
   record_unwind_protect ((Lisp_Object (*) P_ ((Lisp_Object))) init_sys_modes,
-			 0);
+			 Qnil);
   stuff_buffered_input (stuffstring);
   if (cannot_suspend)
     sys_subshell ();