aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index c527e61936a1..784ca5beb210 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2019 Mark Nudelman
+ * Copyright (C) 1984-2020 Mark Nudelman
*
* You may distribute under the terms of either the GNU General Public
* License or the Less License, as specified in the README file.
@@ -117,7 +117,6 @@ main(argc, argv)
init_mark();
init_cmds();
get_term();
- expand_cmd_tables();
init_charset();
init_line();
init_cmdhist();
@@ -159,6 +158,8 @@ main(argc, argv)
quit(QUIT_OK);
}
+ expand_cmd_tables();
+
#if EDITOR
editor = lgetenv("VISUAL");
if (editor == NULL || *editor == '\0')