mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3972: error messages are spread out
Problem: Error messages are spread out. Solution: Move the last errors from globals.h to errors.h.
This commit is contained in:
@@ -1889,7 +1889,7 @@ do_lock_var(
|
||||
*name_end = NUL;
|
||||
if (*lp->ll_name == '$')
|
||||
{
|
||||
semsg(_(e_lock_unlock), lp->ll_name);
|
||||
semsg(_(e_cannot_lock_or_unlock_variable_str), lp->ll_name);
|
||||
ret = FAIL;
|
||||
}
|
||||
else
|
||||
@@ -1909,7 +1909,7 @@ do_lock_var(
|
||||
{
|
||||
// For historic reasons this error is not given for a list or
|
||||
// dict. E.g., the b: dict could be locked/unlocked.
|
||||
semsg(_(e_lock_unlock), lp->ll_name);
|
||||
semsg(_(e_cannot_lock_or_unlock_variable_str), lp->ll_name);
|
||||
ret = FAIL;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user