1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

(decode_options): Fix handling of alternate editor.

This commit is contained in:
Stefan Monnier 2004-02-05 00:02:04 +00:00
parent cff301beed
commit b6b6d6d201

View File

@ -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: