commit a2b4f00a270e3139acc3e255728940bca1826bd6
parent 15738c6b39f5dd1799c82355a2bea5d2e4fa5a89
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 3 Oct 2017 21:39:09 +0200
tweaks: fix compilation when configured with --disable-histories
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/files.c b/src/files.c
@@ -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. */