summaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c
index 57197c1a83..9c35543031 100644
--- a/src/message.c
+++ b/src/message.c
@@ -535,11 +535,11 @@ msg_source(int attr)
return;
recursive = TRUE;
- msg_scroll = TRUE; // this will take more than one line
++no_wait_return;
p = get_emsg_source();
if (p != NULL)
{
+ msg_scroll = TRUE; // this will take more than one line
msg_attr((char *)p, attr);
vim_free(p);
}
@@ -767,8 +767,8 @@ emsg_core(char_u *s)
#endif
/*
* Display name and line number for the source of the error.
- * Sets "msg_scroll".
*/
+ msg_scroll = TRUE;
msg_source(attr);
/*