From a2b4f00a270e3139acc3e255728940bca1826bd6 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@telfort.nl> Date: Tue, 3 Oct 2017 21:39:09 +0200 Subject: [PATCH] tweaks: fix compilation when configured with --disable-histories --- src/files.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/files.c b/src/files.c index e70bbfe9..5c8d86f5 100644 --- 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. */ -- GitLab