mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
(decode_options): Fix handling of alternate editor.
This commit is contained in:
parent
cff301beed
commit
b6b6d6d201
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue