Commit a2b4f00a authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

parent 15738c6b
Showing with 2 additions and 0 deletions
+2 -0
...@@ -1129,7 +1129,9 @@ void do_insertfile(void) ...@@ -1129,7 +1129,9 @@ void do_insertfile(void)
#endif #endif
/* Save the command's output in the current buffer. */ /* Save the command's output in the current buffer. */
execute_command(answer); execute_command(answer);
#ifndef DISABLE_HISTORIES
update_history(&execute_history, answer); update_history(&execute_history, answer);
#endif
#ifdef ENABLE_MULTIBUFFER #ifdef ENABLE_MULTIBUFFER
/* If this is a new buffer, put the cursor at the top. */ /* If this is a new buffer, put the cursor at the top. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment