aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-04 04:31:10 +0000
committerRichard M. Stallman1996-09-04 04:31:10 +0000
commitb516a185f9b6503f05bbe376628d353de20dd7b7 (patch)
tree2c946f90b8cc79eb32a53798459a7c4bb934d2c5 /src
parentca20916b66bdc2bf7605b173029d798e237e96ab (diff)
downloademacs-b516a185f9b6503f05bbe376628d353de20dd7b7.tar.gz
emacs-b516a185f9b6503f05bbe376628d353de20dd7b7.zip
(Fcommand_execute): gcpro cmd and prefixarg while calling do_autoload.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c8
1 files changed, 7 insertions, 1 deletions
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.")
6854 final = Findirect_function (cmd); 6854 final = Findirect_function (cmd);
6855 6855
6856 if (CONSP (final) && (tem = Fcar (final), EQ (tem, Qautoload))) 6856 if (CONSP (final) && (tem = Fcar (final), EQ (tem, Qautoload)))
6857 do_autoload (final, cmd); 6857 {
6858 struct gcpro gcpro1, gcpro2;
6859
6860 GCPRO2 (cmd, prefixarg);
6861 do_autoload (final, cmd);
6862 UNGCPRO;
6863 }
6858 else 6864 else
6859 break; 6865 break;
6860 } 6866 }