aboutsummaryrefslogtreecommitdiffstats
path: root/nt/cmdproxy.c
diff options
context:
space:
mode:
authorGlenn Morris2008-07-01 03:02:59 +0000
committerGlenn Morris2008-07-01 03:02:59 +0000
commitaecf7181889dec78ccf95bcdfc792cf85108eaa1 (patch)
tree149a51021855048c2bad41d68f70d6be1b27702d /nt/cmdproxy.c
parent549c0a96643f59cd999c289b3251040f679de69a (diff)
downloademacs-aecf7181889dec78ccf95bcdfc792cf85108eaa1.tar.gz
emacs-aecf7181889dec78ccf95bcdfc792cf85108eaa1.zip
Spelling fixes.
Diffstat (limited to 'nt/cmdproxy.c')
-rw-r--r--nt/cmdproxy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nt/cmdproxy.c b/nt/cmdproxy.c
index b78bdd994f3..62513c060d9 100644
--- a/nt/cmdproxy.c
+++ b/nt/cmdproxy.c
@@ -2,7 +2,7 @@
2 Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2 Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 2008 Free Software Foundation, Inc. 3 2008 Free Software Foundation, Inc.
4 4
5 Accepts subset of Unix sh(1) command-line options, for compatability 5 Accepts subset of Unix sh(1) command-line options, for compatibility
6 with elisp code written for Unix. When possible, executes external 6 with elisp code written for Unix. When possible, executes external
7 programs directly (a common use of /bin/sh by Emacs), otherwise 7 programs directly (a common use of /bin/sh by Emacs), otherwise
8 invokes the user-specified command processor to handle built-in shell 8 invokes the user-specified command processor to handle built-in shell
@@ -513,10 +513,10 @@ main (int argc, char ** argv)
513 { 513 {
514 ++argv; 514 ++argv;
515 /* Act on switches we recognize (mostly single letter switches, 515 /* Act on switches we recognize (mostly single letter switches,
516 except for -e); all unrecognised switches and extra args are 516 except for -e); all unrecognized switches and extra args are
517 passed on to real shell if used (only really of benefit for 517 passed on to real shell if used (only really of benefit for
518 interactive use, but allow for batch use as well). Accept / as 518 interactive use, but allow for batch use as well). Accept / as
519 switch char for compatability with cmd.exe. */ 519 switch char for compatibility with cmd.exe. */
520 if (((*argv)[0] == '-' || (*argv)[0] == '/') && (*argv)[1] != '\0') 520 if (((*argv)[0] == '-' || (*argv)[0] == '/') && (*argv)[1] != '\0')
521 { 521 {
522 if (((*argv)[1] == 'c' || (*argv)[1] == 'C') && ((*argv)[2] == '\0')) 522 if (((*argv)[1] == 'c' || (*argv)[1] == 'C') && ((*argv)[2] == '\0'))