Skip to content
Snippets Groups Projects
Commit 9dc93ae4 authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

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.
parent 2eba1825
No related branches found
Tags v7.3.288
No related merge requests found
......@@ -368,7 +368,8 @@ python_runtime_link_init(char *libname, int verbose)
* 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
......
......@@ -367,7 +367,8 @@ py3_runtime_link_init(char *libname, int verbose)
* 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
......
......@@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
288,
/**/
287,
/**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment