tweaks: fix compilation when configured with --disable-histories

master
Benno Schulenberg 2017-10-03 21:39:09 +02:00
parent 15738c6b39
commit a2b4f00a27
1 changed files with 2 additions and 0 deletions

View File

@ -1129,7 +1129,9 @@ void do_insertfile(void)
#endif
/* Save the command's output in the current buffer. */
execute_command(answer);
#ifndef DISABLE_HISTORIES
update_history(&execute_history, answer);
#endif
#ifdef ENABLE_MULTIBUFFER
/* If this is a new buffer, put the cursor at the top. */