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:
parent
cff301beed
commit
b6b6d6d201
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user