Mercurial > vim
comparison src/if_python.c @ 26952:b34ddbca305c v8.2.4005
patch 8.2.4005: error messages are spread out
Commit: https://github.com/vim/vim/commit/a6f7929e62c19a6a2418a016b4c59b83eb1887ac
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 4 21:30:47 2022 +0000
patch 8.2.4005: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Jan 2022 22:45:04 +0100 |
parents | d02d40f0261c |
children | 85866e069c24 |
comparison
equal
deleted
inserted
replaced
26951:c3fbe78b6109 | 26952:b34ddbca305c |
---|---|
1022 #endif | 1022 #endif |
1023 | 1023 |
1024 #ifndef PY_CAN_RECURSE | 1024 #ifndef PY_CAN_RECURSE |
1025 if (recursive) | 1025 if (recursive) |
1026 { | 1026 { |
1027 emsg(_("E659: Cannot invoke Python recursively")); | 1027 emsg(_(e_cannot_invoke_python_recursively)); |
1028 return; | 1028 return; |
1029 } | 1029 } |
1030 ++recursive; | 1030 ++recursive; |
1031 #endif | 1031 #endif |
1032 if (python_end_called) | 1032 if (python_end_called) |