emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/emacs.c


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/emacs.c
Date: Fri, 22 Mar 2002 17:54:20 -0500

Index: emacs/src/emacs.c
diff -c emacs/src/emacs.c:1.303 emacs/src/emacs.c:1.304
*** emacs/src/emacs.c:1.303     Fri Mar 22 12:52:16 2002
--- emacs/src/emacs.c   Fri Mar 22 17:54:19 2002
***************
*** 1219,1237 ****
  
    /* Handle --unibyte and the EMACS_UNIBYTE envvar,
       but not while dumping.  */
!   if (
! #ifndef CANNOT_DUMP
!       ! noninteractive || initialized
! #else
!       1
! #endif
!       )
      {
        int inhibit_unibyte = 0;
  
        /* --multibyte overrides EMACS_UNIBYTE.  */
        if (argmatch (argv, argc, "-no-unibyte", "--no-unibyte", 4, NULL, 
&skip_args)
!         || argmatch (argv, argc, "-multibyte", "--multibyte", 4, NULL, 
&skip_args))
        inhibit_unibyte = 1;
  
        /* --unibyte requests that we set up to do everything with single-byte
--- 1219,1233 ----
  
    /* Handle --unibyte and the EMACS_UNIBYTE envvar,
       but not while dumping.  */
!   if (1)
      {
        int inhibit_unibyte = 0;
  
        /* --multibyte overrides EMACS_UNIBYTE.  */
        if (argmatch (argv, argc, "-no-unibyte", "--no-unibyte", 4, NULL, 
&skip_args)
!         || argmatch (argv, argc, "-multibyte", "--multibyte", 4, NULL, 
&skip_args)
!         /* Ignore EMACS_UNIBYTE before dumping.  */
!         || (!initialized && noninteractive))
        inhibit_unibyte = 1;
  
        /* --unibyte requests that we set up to do everything with single-byte
***************
*** 1542,1553 ****
        if (argmatch (argv, argc, "-l", "--load", 3, &file, &skip_args))
        Vtop_level = Fcons (intern ("load"),
                            Fcons (build_string (file), Qnil));
- #ifdef CANNOT_DUMP
        /* Unless next switch is -nl, load "loadup.el" first thing.  */
        if (! no_loadup)
        Vtop_level = Fcons (intern ("load"),
                            Fcons (build_string ("loadup.el"), Qnil));
- #endif /* CANNOT_DUMP */
      }
  
    if (initialized)
--- 1538,1547 ----
***************
*** 1643,1651 ****
    { "-multibyte", "--multibyte", 82, 0 },
    { "-unibyte", "--unibyte", 81, 0 },
    { "-no-multibyte", "--no-multibyte", 80, 0 },
- #ifdef CANNOT_DUMP
    { "-nl", "--no-loadup", 70, 0 },
- #endif
    /* -d must come last before the options handled in startup.el.  */
    { "-d", "--display", 60, 1 },
    { "-display", 0, 60, 1 },
--- 1637,1643 ----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]