emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/src emacs.c


From: Adrian Robert
Subject: [Emacs-diffs] emacs/src emacs.c
Date: Fri, 18 Sep 2009 15:11:38 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Adrian Robert <arobert> 09/09/18 15:11:38

Modified files:
        src            : emacs.c 

Log message:
        (inhibit_x_resources): Update doc string for NS.  (main) [HAVE_NS]: 
Don't process --no-init-file option.  Remove legacy code for -NXHost.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/emacs.c?cvsroot=emacs&r1=1.469&r2=1.470

Patches:
Index: emacs.c
===================================================================
RCS file: /sources/emacs/emacs/src/emacs.c,v
retrieving revision 1.469
retrieving revision 1.470
diff -u -b -r1.469 -r1.470
--- emacs.c     17 Sep 2009 23:04:47 -0000      1.469
+++ emacs.c     18 Sep 2009 15:11:38 -0000      1.470
@@ -202,10 +202,6 @@
 int display_arg;
 #endif
 
-#ifdef HAVE_NS
-extern char ns_no_defaults;
-#endif
-
 /* An address near the bottom of the stack.
    Tells GC how to save a copy of the stack.  */
 char *stack_bottom;
@@ -1479,13 +1475,6 @@
   ns_alloc_autorelease_pool();
   if (!noninteractive)
     {
-      char *tmp;
-      display_arg = 4;
-      if (argmatch (argv, argc, "-q", "--no-init-file", 6, NULL, &skip_args))
-        {
-          ns_no_defaults = 1;
-          skip_args--;
-        }
 #ifdef NS_IMPL_COCOA
       if (skip_args < argc)
         {
@@ -1500,16 +1489,7 @@
               chdir (getenv ("HOME"));
             }
         }
-#endif
-      /* This used for remote operation.. not fully implemented yet. */
-      if (argmatch (argv, argc, "-_NSMachLaunch", 0, 3, &tmp, &skip_args))
-          display_arg = 4;
-      else if (argmatch (argv, argc, "-MachLaunch", 0, 3, &tmp, &skip_args))
-          display_arg = 4;
-      else if (argmatch (argv, argc, "-macosx", 0, 2, NULL, &skip_args))
-          display_arg = 4;
-      else if (argmatch (argv, argc, "-NSHost", 0, 3, &tmp, &skip_args))
-          display_arg = 4;
+#endif  /* COCOA */
     }
 #endif /* HAVE_NS */
 
@@ -2679,7 +2659,7 @@
   Vafter_init_time = Qnil;
 
   DEFVAR_BOOL ("inhibit-x-resources", &inhibit_x_resources,
-              doc: /* If non-nil, X resources and Windows Registry settings 
are not used.  */);
+              doc: /* If non-nil, X resources, Windows Registry settings, and 
NS defaults are not used.  */);
   inhibit_x_resources = 0;
 
   /* Make sure IS_DAEMON starts up as false.  */




reply via email to

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