summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index fec61f7..7400d25 100644
--- a/src/main.c
+++ b/src/main.c
@@ -345,12 +345,12 @@ read_rc_file (FILE *file)
/* do it */
if (*line != '#')
{
- char *result;
+ cmdret *result;
result = command (0, line);
/* Gobble the result. */
if (result)
- free (result);
+ cmdret_free (result);
}
*line = '\0';
@@ -624,6 +624,7 @@ main (int argc, char *argv[])
init_frame_lists ();
update_modifier_map ();
+ init_user_commands();
initialize_default_keybindings ();
#ifdef HAVE_HISTORY
history_load ();