changeset 13212:a80490493c6b v8.0.1480

patch 8.0.1480: patch missing change commit https://github.com/vim/vim/commit/0562532c2eee6205d225aa1dc7e3e89af0dfd990 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 9 12:28:00 2018 +0100 patch 8.0.1480: patch missing change Problem: Patch missing change. Solution: Add missing change.
author Christian Brabandt <cb@256bit.org>
date Fri, 09 Feb 2018 12:30:06 +0100
parents 44941d705775
children 13e035335212
files src/evalfunc.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -7977,7 +7977,7 @@ f_mode(typval_T *argvars, typval_T *rett
 #ifdef FEAT_INS_EXPAND
 	    if (ins_compl_active())
 		buf[1] = 'c';
-	    else if (ctrl_x_mode == 1)
+	    else if (ctrl_x_mode_not_defined_yet())
 		buf[1] = 'x';
 #endif
 	}
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1480,
+/**/
     1479,
 /**/
     1478,