changeset 16109:198c6c2846ae

(Fcommand_execute): gcpro cmd and prefixarg while calling do_autoload.
author Richard M. Stallman <rms@gnu.org>
date Wed, 04 Sep 1996 04:31:10 +0000
parents 2c9c0c867e00
children 4b672131c37f
files src/keyboard.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Sep 04 04:30:26 1996 +0000
+++ b/src/keyboard.c	Wed Sep 04 04:31:10 1996 +0000
@@ -6854,7 +6854,13 @@
       final = Findirect_function (cmd);
 
       if (CONSP (final) && (tem = Fcar (final), EQ (tem, Qautoload)))
-	do_autoload (final, cmd);
+	{
+	  struct gcpro gcpro1, gcpro2;
+
+	  GCPRO2 (cmd, prefixarg);
+	  do_autoload (final, cmd);
+	  UNGCPRO;
+	}
       else
 	break;
     }