diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-02-05 00:02:04 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-02-05 00:02:04 +0000 |
commit | 08a8e5ca7ce742be31a80b2e0093c7ceaaef9f52 (patch) | |
tree | 49aeb2bb164668ab2e9f308ea9b7ca43120a496b /lib-src | |
parent | 0da158e2df887576f181b964f99064c7a42b9118 (diff) | |
download | emacs-08a8e5ca7ce742be31a80b2e0093c7ceaaef9f52.tar.gz |
(decode_options): Fix handling of alternate editor.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/emacsclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index a3a73d9e067..c8b2596198f 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -92,6 +92,8 @@ decode_options (argc, argv) int argc; char **argv; { + alternate_editor = getenv ("ALTERNATE_EDITOR"); + while (1) { int opt = getopt_long (argc, argv, @@ -100,8 +102,6 @@ decode_options (argc, argv) if (opt == EOF) break; - alternate_editor = getenv ("ALTERNATE_EDITOR"); - switch (opt) { case 0: |