updated for version 7.3.288
Problem: has('python') may give an error message for not being able to load
the library after using python3.
Solution: Only give the error when the verbose argument is true.
diff --git a/src/if_python.c b/src/if_python.c
index f3b7e5b..d8dff02 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -368,7 +368,8 @@
* standard C extension libraries of one or both python versions. */
if (python3_loaded())
{
- EMSG(_("E836: This Vim cannot execute :python after using :py3"));
+ if (verbose)
+ EMSG(_("E836: This Vim cannot execute :python after using :py3"));
return FAIL;
}
#endif
diff --git a/src/if_python3.c b/src/if_python3.c
index 023a773..644cf18 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -367,7 +367,8 @@
* standard C extension libraries of one or both python versions. */
if (python_loaded())
{
- EMSG(_("E837: This Vim cannot execute :py3 after using :python"));
+ if (verbose)
+ EMSG(_("E837: This Vim cannot execute :py3 after using :python"));
return FAIL;
}
# endif
diff --git a/src/version.c b/src/version.c
index 7642dd6..f3a3215 100644
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 288,
+/**/
287,
/**/
286,