Mercurial > emacs
diff lib-src/emacsclient.c @ 53813:ddc4b99f4f8c
(decode_options): Fix handling of alternate editor.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Thu, 05 Feb 2004 00:02:04 +0000 |
| parents | 132739917566 |
| children | a47704955f8d 03a73693678e |
line wrap: on
line diff
--- a/lib-src/emacsclient.c Wed Feb 04 22:55:17 2004 +0000 +++ b/lib-src/emacsclient.c Thu Feb 05 00:02:04 2004 +0000 @@ -92,6 +92,8 @@ int argc; char **argv; { + alternate_editor = getenv ("ALTERNATE_EDITOR"); + while (1) { int opt = getopt_long (argc, argv, @@ -100,8 +102,6 @@ if (opt == EOF) break; - alternate_editor = getenv ("ALTERNATE_EDITOR"); - switch (opt) { case 0:
