summaryrefslogtreecommitdiff
path: root/src/if_python3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index 023a773e2..644cf188a 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -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