aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-06-16 02:23:13 +0200
committerGitHub <noreply@github.com>2022-06-15 17:23:13 -0700
commitfa4b0c3ba5c4aa6dce90cf9d5fb63ea65fd0daee (patch)
tree7726559aead2a8dfc2fc83d1672c2ba17fba325d /src/nvim/message.c
parent4cc05a75ea9e67099e8a54311390af299c4f462e (diff)
downloadrneovim-fa4b0c3ba5c4aa6dce90cf9d5fb63ea65fd0daee.tar.gz
rneovim-fa4b0c3ba5c4aa6dce90cf9d5fb63ea65fd0daee.tar.bz2
rneovim-fa4b0c3ba5c4aa6dce90cf9d5fb63ea65fd0daee.zip
refactor(log): use msg_schedule_semsg #18950
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 4ae11ee135..acc3122e93 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -853,7 +853,7 @@ void msg_schedule_semsg(const char *const fmt, ...)
va_end(ap);
char *s = xstrdup((char *)IObuff);
- multiqueue_put(main_loop.events, msg_semsg_event, 1, s);
+ loop_schedule_deferred(&main_loop, event_create(msg_semsg_event, 1, s));
}
/// Like msg(), but truncate to a single line if p_shm contains 't', or when