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 3ba1a592b8..a2fc008c2e 100644
--- a/src/message.c
+++ b/src/message.c
@@ -161,7 +161,7 @@ msg_attr_keep(
&& STRCMP(s, last_msg_hist->msg)))
add_msg_hist((char_u *)s, -1, attr);
-#ifdef FEAT_JOB_CHANNEL
+#ifdef FEAT_EVAL
if (emsg_to_channel_log)
// Write message in the channel log.
ch_log(NULL, "ERROR: %s", s);
@@ -725,7 +725,7 @@ emsg_core(char_u *s)
if (emsg_silent == emsg_silent_def)
++did_emsg_def;
#endif
-#ifdef FEAT_JOB_CHANNEL
+#ifdef FEAT_EVAL
ch_log(NULL, "ERROR silent: %s", (char *)s);
#endif
return TRUE;