summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 6e469f49b5..b0cc8c2317 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2155,7 +2155,8 @@ parse_queued_messages(void)
// Do not handle messages while redrawing, because it may cause buffers to
// change or be wiped while they are being redrawn.
- if (updating_screen)
+ // Also bail out when parsing messages was explicitly disabled.
+ if (updating_screen || dont_parse_messages)
return;
// If memory allocation fails during startup we'll exit but curbuf or