diff options
Diffstat (limited to 'src/history.c')
-rw-r--r-- | src/history.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.c b/src/history.c index d1e9938..1466e89 100644 --- a/src/history.c +++ b/src/history.c @@ -314,10 +314,10 @@ history_expand_line (int history_id UNUSED, char *string, char **output) if (strchr (string, '!')) { clear_history (); - using_history (); list_for_each_entry(item, &histories[history_id].head, node) { add_history (item->line); } + using_history (); return history_expand (string, output); } #endif |