vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 77fccd3ca8f50c33aa18e376e99d902861186588 parent 96870b2e3b4bcd874c08ba02b4f855b21d91da1c Author: Randy Palamar <palamar@ualberta.ca> Date: Tue, 2 May 2023 09:00:37 -0600 remove unused vis_message_hide() function the message window gets closed like a normal window and nothing calls this function. In fact, it wasn't even used when it was added 8 years ago in 3a6d64a. Diffstat:
| M | vis-prompt.c | | | 7 | ------- |
| M | vis.h | | | 2 | -- |
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/vis-prompt.c b/vis-prompt.c @@ -205,10 +205,3 @@ void vis_message_show(Vis *vis, const char *msg) { view_cursor_to(win->view, pos); vis_window_focus(win); } - -void vis_message_hide(Vis *vis) { - if (!vis->message_window) - return; - vis_window_close(vis->message_window); - vis->message_window = NULL; -} diff --git a/vis.h b/vis.h @@ -248,8 +248,6 @@ void vis_info_hide(Vis*); /** Display arbitrary long message in a dedicated window. */ void vis_message_show(Vis*, const char *msg); -/** Close message window. */ -void vis_message_hide(Vis*); /** * @} * @defgroup vis_changes