diff src/message.c @ 31277:68d13970fe8b v9.0.0972

patch 9.0.0972: build failure on some systems Commit: https://github.com/vim/vim/commit/4e6072b8d3e7ad85d2ca010c9172c2bdcdc62f44 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 29 16:09:18 2022 +0000 patch 9.0.0972: build failure on some systems Problem: Build failure on some systems. Solution: Adjust #ifdefs related to the termresponse feature.
author Bram Moolenaar <Bram@vim.org>
date Tue, 29 Nov 2022 17:15:03 +0100
parents a52697bcffa6
children fa309d9af73c
line wrap: on
line diff
--- a/src/message.c
+++ b/src/message.c
@@ -1417,7 +1417,6 @@ set_keep_msg(char_u *s, int attr)
     keep_msg_attr = attr;
 }
 
-#if defined(FEAT_TERMRESPONSE) || defined(PROTO)
 /*
  * If there currently is a message being displayed, set "keep_msg" to it, so
  * that it will be displayed again after redraw.
@@ -1429,7 +1428,6 @@ set_keep_msg_from_hist(void)
 						      && (State & MODE_NORMAL))
 	set_keep_msg(last_msg_hist->msg, last_msg_hist->attr);
 }
-#endif
 
 /*
  * Prepare for outputting characters in the command line.