aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1995-03-01 03:44:15 +0000
committerKarl Heuer1995-03-01 03:44:15 +0000
commit4a7bcf34e1e2443e7597f520b838145e42a7e6bf (patch)
treef9d43039333bff4e6cc219b1b152813ae32fbe01 /src
parent8c917bf29eda7cebdd442a95071dc30ba03f383e (diff)
downloademacs-4a7bcf34e1e2443e7597f520b838145e42a7e6bf.tar.gz
emacs-4a7bcf34e1e2443e7597f520b838145e42a7e6bf.zip
(Fml_provide_prefix_argument, Fml_prefix_argument_loop): Undo Jan 31 change.
Diffstat (limited to 'src')
-rw-r--r--src/mocklisp.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mocklisp.c b/src/mocklisp.c
index 4359edb0719..f394d9c0840 100644
--- a/src/mocklisp.c
+++ b/src/mocklisp.c
@@ -140,9 +140,7 @@ DEFUN ("ml-provide-prefix-argument", Fml_provide_prefix_argument, Sml_provide_pr
140{ 140{
141 struct gcpro gcpro1; 141 struct gcpro gcpro1;
142 GCPRO1 (args); 142 GCPRO1 (args);
143 if (!current_perdisplay) 143 Vcurrent_prefix_arg = Feval (Fcar (args));
144 abort ();
145 current_perdisplay->Vcurrent_prefix_arg = Feval (Fcar (args));
146 UNGCPRO; 144 UNGCPRO;
147 return Feval (Fcar (Fcdr (args))); 145 return Feval (Fcar (Fcdr (args)));
148} 146}
@@ -158,13 +156,11 @@ DEFUN ("ml-prefix-argument-loop", Fml_prefix_argument_loop, Sml_prefix_argument_
158 struct gcpro gcpro1; 156 struct gcpro gcpro1;
159 157
160 /* Set `arg' in case we call a built-in function that looks at it. Still are a few. */ 158 /* Set `arg' in case we call a built-in function that looks at it. Still are a few. */
161 if (!current_perdisplay) 159 if (NILP (Vcurrent_prefix_arg))
162 abort ();
163 tem = current_perdisplay->Vcurrent_prefix_arg;
164 if (NILP (tem))
165 i = 1; 160 i = 1;
166 else 161 else
167 { 162 {
163 tem = Vcurrent_prefix_arg;
168 if (CONSP (tem)) 164 if (CONSP (tem))
169 tem = Fcar (tem); 165 tem = Fcar (tem);
170 if (EQ (tem, Qminus)) 166 if (EQ (tem, Qminus))