From: Richard M. Stallman Date: Wed, 4 Sep 1996 04:31:10 +0000 (+0000) Subject: (Fcommand_execute): gcpro cmd and prefixarg while calling do_autoload. X-Git-Tag: emacs-20.1~3835 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b516a185f9b6503f05bbe376628d353de20dd7b7;p=emacs.git (Fcommand_execute): gcpro cmd and prefixarg while calling do_autoload. --- diff --git a/src/keyboard.c b/src/keyboard.c index a1d0c5514b2..a995e551ad3 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -6854,7 +6854,13 @@ a special event, so ignore the prefix argument and don't clear it.") 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; }