From e366ca8dbfb3d38e4bcbfa02965d6736a7e6bdca Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 7 Nov 2005 09:37:34 +0000 Subject: users/9638: tweaks for FCEDIT etc. 21986: rewrite completion suffixes for wide characters --- Src/builtin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/builtin.c') diff --git a/Src/builtin.c b/Src/builtin.c index 063baa687..1b7e1935e 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -1460,6 +1460,8 @@ bin_fc(char *nam, char **argv, Options ops, int func) editor = OPT_ARG(ops, 'e'); else editor = getsparam("FCEDIT"); + if (!editor) + editor = getsparam("EDITOR"); if (!editor) editor = DEFAULT_FCEDIT; -- cgit 1.4.1