diff options
| author | Stefan Monnier | 2004-02-05 00:02:04 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-02-05 00:02:04 +0000 |
| commit | b6b6d6d201c5203279a8267e49f9fce97e7a70e9 (patch) | |
| tree | 3388ff8c39b3df2e602d2e38726819c041e351ef /lib-src | |
| parent | cff301beed3776a18def846d99753ef53ecfe277 (diff) | |
| download | emacs-b6b6d6d201c5203279a8267e49f9fce97e7a70e9.tar.gz emacs-b6b6d6d201c5203279a8267e49f9fce97e7a70e9.zip | |
(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) | |||
| 92 | int argc; | 92 | int argc; |
| 93 | char **argv; | 93 | char **argv; |
| 94 | { | 94 | { |
| 95 | alternate_editor = getenv ("ALTERNATE_EDITOR"); | ||
| 96 | |||
| 95 | while (1) | 97 | while (1) |
| 96 | { | 98 | { |
| 97 | int opt = getopt_long (argc, argv, | 99 | int opt = getopt_long (argc, argv, |
| @@ -100,8 +102,6 @@ decode_options (argc, argv) | |||
| 100 | if (opt == EOF) | 102 | if (opt == EOF) |
| 101 | break; | 103 | break; |
| 102 | 104 | ||
| 103 | alternate_editor = getenv ("ALTERNATE_EDITOR"); | ||
| 104 | |||
| 105 | switch (opt) | 105 | switch (opt) |
| 106 | { | 106 | { |
| 107 | case 0: | 107 | case 0: |