0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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.
This commit is contained in:
Bram Moolenaar
2011-08-28 16:00:19 +02:00
parent 2eba18255e
commit 9dc93ae43e
3 changed files with 6 additions and 2 deletions

View File

@@ -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