aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-06-06 02:05:49 +0200
committerGitHub <noreply@github.com>2020-06-06 02:05:49 +0200
commit33dafc4f0f21f763dac8f6bdbd27117666f908c5 (patch)
tree179301040b52babddbe60001bc5c9b467edc310a /src/nvim/message.c
parentfca471d8e2573c2351151051a2d2c6eee0b2243b (diff)
parent9538a7895cb6af2312a39c4c0710ace638309914 (diff)
downloadrneovim-33dafc4f0f21f763dac8f6bdbd27117666f908c5.tar.gz
rneovim-33dafc4f0f21f763dac8f6bdbd27117666f908c5.tar.bz2
rneovim-33dafc4f0f21f763dac8f6bdbd27117666f908c5.zip
Merge pull request #12413 from janlazo/vim-8.2.0089
[RDY]vim-patch:8.0.1564,8.1.{917,1895,2018,2335},8.2.{89,491,873,892,905}
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 9aa588e035..8999365d32 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -306,11 +306,6 @@ bool msg_attr_keep(char_u *s, int attr, bool keep, bool multiline)
add_msg_hist((const char *)s, -1, attr, multiline);
}
- /* When displaying keep_msg, don't let msg_start() free it, caller must do
- * that. */
- if (s == keep_msg)
- keep_msg = NULL;
-
/* Truncate the message if needed. */
msg_start();
buf = msg_strtrunc(s, FALSE);