Mercurial > emacs
changeset 53813:ddc4b99f4f8c
(decode_options): Fix handling of alternate editor.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 05 Feb 2004 00:02:04 +0000 |
parents | 80c9f33653f7 |
children | 86bb8a3df021 |
files | lib-src/emacsclient.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/emacsclient.c Wed Feb 04 22:55:17 2004 +0000 +++ b/lib-src/emacsclient.c Thu Feb 05 00:02:04 2004 +0000 @@ -92,6 +92,8 @@ int argc; char **argv; { + alternate_editor = getenv ("ALTERNATE_EDITOR"); + while (1) { int opt = getopt_long (argc, argv, @@ -100,8 +102,6 @@ if (opt == EOF) break; - alternate_editor = getenv ("ALTERNATE_EDITOR"); - switch (opt) { case 0: