comparison src/emacs.c @ 348:17ca8766781a

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Wed, 24 Jul 1991 00:06:21 +0000
parents 03e467a3d92a
children 481e29c1e27e
comparison
equal deleted inserted replaced
347:6506740942fa 348:17ca8766781a
209 skip_args = 0; 209 skip_args = 0;
210 } 210 }
211 #endif 211 #endif
212 212
213 #ifdef HAVE_X_WINDOWS 213 #ifdef HAVE_X_WINDOWS
214 /* Stupid kludge to catch command-line display spec. ask jla */ 214 /* Stupid kludge to catch command-line display spec. We can't
215 handle this argument entirely in window system dependent code
216 because we don't even know which window system dependent code
217 to run until we've recognized this argument. */
215 { 218 {
216 int i; 219 int i;
217 220
218 for (i = 1; (i < argc && ! display_arg); i++) 221 for (i = 1; (i < argc && ! display_arg); i++)
219 if (!strcmp (argv[i], "-d")) 222 if (!strcmp (argv[i], "-d"))
332 { 335 {
333 skip_args += 1; 336 skip_args += 1;
334 noninteractive = 1; 337 noninteractive = 1;
335 } 338 }
336 339
340 #ifdef POSIX_SIGNALS
341 init_signals ();
342 #endif
343
337 if ( 344 if (
338 #ifndef CANNOT_DUMP 345 #ifndef CANNOT_DUMP
339 ! noninteractive || initialized 346 ! noninteractive || initialized
340 #else 347 #else
341 1 348 1
404 #ifdef MAINTAIN_ENVIRONMENT 411 #ifdef MAINTAIN_ENVIRONMENT
405 init_environ (); 412 init_environ ();
406 #endif 413 #endif
407 init_eval (); 414 init_eval ();
408 init_data (); 415 init_data ();
409 init_read (); 416 init_lread ();
410 417
411 init_cmdargs (argc, argv, skip_args); /* Create list Vcommand_line_args */ 418 init_cmdargs (argc, argv, skip_args); /* Create list Vcommand_line_args */
412 init_buffer (); /* Init default directory of main buffer */ 419 init_buffer (); /* Init default directory of main buffer */
413 if (!noninteractive) 420 if (!noninteractive)
414 { 421 {
446 syms_of_data (); 453 syms_of_data ();
447 syms_of_alloc (); 454 syms_of_alloc ();
448 #ifdef MAINTAIN_ENVIRONMENT 455 #ifdef MAINTAIN_ENVIRONMENT
449 syms_of_environ (); 456 syms_of_environ ();
450 #endif /* MAINTAIN_ENVIRONMENT */ 457 #endif /* MAINTAIN_ENVIRONMENT */
451 syms_of_read (); 458 syms_of_lread ();
452 syms_of_print (); 459 syms_of_print ();
453 syms_of_eval (); 460 syms_of_eval ();
454 syms_of_fns (); 461 syms_of_fns ();
455 #ifdef LISP_FLOAT_TYPE 462 #ifdef LISP_FLOAT_TYPE
456 syms_of_floatfns (); 463 syms_of_floatfns ();