mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1460: error messages are spread out
Problem: Error messages are spread out. Solution: Move more messages into errors.h.
This commit is contained in:
@@ -858,7 +858,7 @@ get_lval(
|
||||
v = find_var(lp->ll_name, (flags & GLV_READ_ONLY) ? NULL : &ht,
|
||||
flags & GLV_NO_AUTOLOAD);
|
||||
if (v == NULL && !quiet)
|
||||
semsg(_(e_undefvar), lp->ll_name);
|
||||
semsg(_(e_undefined_variable_str), lp->ll_name);
|
||||
*p = cc;
|
||||
if (v == NULL)
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user