summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorAdrian Robert <Adrian.B.Robert@gmail.com>2009-09-18 15:11:38 +0000
committerAdrian Robert <Adrian.B.Robert@gmail.com>2009-09-18 15:11:38 +0000
commit9b68317c5ecfd17bf1d83094979d146b8614e5c8 (patch)
tree672cca4f64a6732ba30b3795e8511f6e40a1e8d6 /src/emacs.c
parent08cf18e4ad3cae08660f17e7561c5332fb44b4f4 (diff)
downloademacs-9b68317c5ecfd17bf1d83094979d146b8614e5c8.tar.gz
(inhibit_x_resources): Update doc string for NS. (main) [HAVE_NS]: Don't process --no-init-file option. Remove legacy code for -NXHost.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 9538e3cf059..8374a32669d 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -202,10 +202,6 @@ extern int inherited_pgroup;
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 @@ main (int argc, char **argv)
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 @@ main (int argc, char **argv)
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 @@ This is nil during initialization. */);
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. */