changeset 10858:415b568535de

(Fml_provide_prefix_argument, Fml_prefix_argument_loop): Undo Jan 31 change.
author Karl Heuer <kwzh@gnu.org>
date Wed, 01 Mar 1995 03:44:15 +0000
parents 2b9faff73319
children 1af826d1d91d
files src/mocklisp.c
diffstat 1 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/mocklisp.c	Wed Mar 01 03:44:02 1995 +0000
+++ b/src/mocklisp.c	Wed Mar 01 03:44:15 1995 +0000
@@ -140,9 +140,7 @@
 {
   struct gcpro gcpro1;
   GCPRO1 (args);
-  if (!current_perdisplay)
-    abort ();
-  current_perdisplay->Vcurrent_prefix_arg = Feval (Fcar (args));
+  Vcurrent_prefix_arg = Feval (Fcar (args));
   UNGCPRO;
   return Feval (Fcar (Fcdr (args)));
 }
@@ -158,13 +156,11 @@
   struct gcpro gcpro1;
 
   /* Set `arg' in case we call a built-in function that looks at it.  Still are a few. */
-  if (!current_perdisplay)
-    abort ();
-  tem = current_perdisplay->Vcurrent_prefix_arg;
-  if (NILP (tem))
+  if (NILP (Vcurrent_prefix_arg))
     i = 1;
   else
     {
+      tem = Vcurrent_prefix_arg;
       if (CONSP (tem))
 	tem = Fcar (tem);
       if (EQ (tem, Qminus))