updated for version 7.3.418
Problem:    When a user complete function returns -1 an error message is
            given.
Solution:   When -2 is returned stop completion silently. (Yasuhiro Matsumoto)
diff --git a/src/edit.c b/src/edit.c
index 08b555b..9a0abf9 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -5189,6 +5189,11 @@
 		return FAIL;
 	    }
 
+	    /* Return value -2 means the user complete function wants to
+	     * cancel the complete without an error. */
+	    if (col == -2)
+		return FAIL;
+
 	    /*
 	     * Reset extended parameters of completion, when start new
 	     * completion.