patch 9.1.1500: if_python: typo in python error variable
Commit:
https://github.com/vim/vim/commit/b84ab0288f36145b4e9c095f68bf673ad6f69cd4
Author: Damien Lejay <[email protected]>
Date: Tue Jul 1 21:57:59 2025 +0200
patch 9.1.1500: if_python: typo in python error variable
Problem: if_python: typo in python error variable
Solution: fix typo (Damien Lejay)
closes: #17640
Signed-off-by: Damien Lejay <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/errors.h b/src/errors.h
index 042ab287c..6ca05b59f 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -2303,7 +2303,7 @@ EXTERN char e_cant_rename_viminfo_file_to_str[]
INIT(= N_("E886: Can't rename viminfo file to %s!"));
#endif
#if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3)
-EXTERN char
e_sorry_this_command_is_disabled_python_side_module_could_not_be_loaded[]
+EXTERN char
e_sorry_this_command_is_disabled_python_site_module_could_not_be_loaded[]
INIT(= N_("E887: Sorry, this command is disabled, the Python's site
module could not be loaded."));
#endif
EXTERN char e_nfa_regexp_cannot_repeat_str[]
diff --git a/src/if_python.c b/src/if_python.c
index aa496f23f..012a3e776 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -958,7 +958,7 @@ Python_Init(void)
site = PyImport_ImportModule("site");
if (site == NULL)
{
-
emsg(_(e_sorry_this_command_is_disabled_python_side_module_could_not_be_loaded));
+
emsg(_(e_sorry_this_command_is_disabled_python_site_module_could_not_be_loaded));
goto fail;
}
Py_DECREF(site);
diff --git a/src/version.c b/src/version.c
index 7181bae96..cbf39bf2d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1500,
/**/
1499,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1uWh99-00EzMO-Fp%40256bit.org.