From d52a7a92631eb442c97bec9880d881871858c8ea Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 14 Apr 1998 13:01:59 +0000 Subject: [PATCH] (parse_menu_item): Don't GCPRO non-lisp variables. --- src/keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index b6b00127630..9c56699d7e4 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -5570,7 +5570,7 @@ parse_menu_item (item, notreal, inmenubar) 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 @@ On such systems, Emacs starts a subshell instead of suspending.") /* 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 (); -- 2.39.2