comparison src/callint.c @ 39813:638b60fd98d0

(Fcall_interactively): Remove unused code. Use XCAR/XCDR.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 12 Oct 2001 03:44:45 +0000
parents 0b986bb45526
children c4d061857bb0
comparison
equal deleted inserted replaced
39812:66e0816837a8 39813:638b60fd98d0
257 { 257 {
258 lose: 258 lose:
259 function = wrong_type_argument (Qcommandp, function); 259 function = wrong_type_argument (Qcommandp, function);
260 goto retry; 260 goto retry;
261 } 261 }
262 if ((EMACS_INT) string == 1)
263 /* Let SPECS (which is nil) be used as the args. */
264 string = 0;
265 } 262 }
266 else if (COMPILEDP (fun)) 263 else if (COMPILEDP (fun))
267 { 264 {
268 if ((XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK) <= COMPILED_INTERACTIVE) 265 if ((XVECTOR (fun)->size & PSEUDOVECTOR_SIZE_MASK) <= COMPILED_INTERACTIVE)
269 goto lose; 266 goto lose;
270 specs = XVECTOR (fun)->contents[COMPILED_INTERACTIVE]; 267 specs = XVECTOR (fun)->contents[COMPILED_INTERACTIVE];
271 } 268 }
272 else if (!CONSP (fun)) 269 else if (!CONSP (fun))
273 goto lose; 270 goto lose;
274 else if (funcar = Fcar (fun), EQ (funcar, Qautoload)) 271 else if (funcar = XCAR (fun), EQ (funcar, Qautoload))
275 { 272 {
276 GCPRO2 (function, prefix_arg); 273 GCPRO2 (function, prefix_arg);
277 do_autoload (fun, function); 274 do_autoload (fun, function);
278 UNGCPRO; 275 UNGCPRO;
279 goto retry; 276 goto retry;
280 } 277 }
281 else if (EQ (funcar, Qlambda)) 278 else if (EQ (funcar, Qlambda))
282 { 279 {
283 specs = Fassq (Qinteractive, Fcdr (Fcdr (fun))); 280 specs = Fassq (Qinteractive, Fcdr (XCDR (fun)));
284 if (NILP (specs)) 281 if (NILP (specs))
285 goto lose; 282 goto lose;
286 specs = Fcar (Fcdr (specs)); 283 specs = Fcar (Fcdr (specs));
287 } 284 }
288 else if (EQ (funcar, Qmocklisp)) 285 else if (EQ (funcar, Qmocklisp))