From 677658ae49de31fe2e5b1fa6d93fdfab85a4362e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 5 Jan 2022 16:09:06 +0000 Subject: patch 8.2.4008: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h. --- src/ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ops.c') diff --git a/src/ops.c b/src/ops.c index 0685a06e0..44a6a6e8e 100644 --- a/src/ops.c +++ b/src/ops.c @@ -3381,7 +3381,7 @@ op_function(oparg_T *oap UNUSED) typval_T rettv; if (*p_opfunc == NUL) - emsg(_("E774: 'operatorfunc' is empty")); + emsg(_(e_operatorfunc_is_empty)); else { // Set '[ and '] marks to text to be operated on. @@ -3419,7 +3419,7 @@ op_function(oparg_T *oap UNUSED) } } #else - emsg(_("E775: Eval feature not available")); + emsg(_(e_eval_feature_not_available)); #endif } -- cgit v1.2.1