From 4c5678ff0c376661d4a8183a5a074a1203413b9d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 30 Nov 2022 18:12:19 +0000 Subject: patch 9.0.0977: it is not easy to see what client-server commands are doing Problem: It is not easy to see what client-server commands are doing. Solution: Add channel log messages if ch_log() is available. Move the channel logging and make it available with the +eval feature. --- src/gui_gtk_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui_gtk_x11.c') diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index 25685ddb28..8b75ba8c3e 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -407,7 +407,7 @@ static int using_gnome = 0; * See https://github.com/vim/vim/issues/10123 */ # if 0 // Change to 1 to enable ch_log() calls for debugging. -# ifdef FEAT_JOB_CHANNEL +# ifdef FEAT_EVAL # define ENABLE_RESIZE_HISTORY_LOG # endif # endif -- cgit v1.2.3