comparison src/quickfix.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 d91aea2a612c
children d92e0d85923f
comparison
equal deleted inserted replaced
26951:c3fbe78b6109 26952:b34ddbca305c
6114 return FAIL; 6114 return FAIL;
6115 6115
6116 p = skipwhite(p); 6116 p = skipwhite(p);
6117 if (*p == NUL) 6117 if (*p == NUL)
6118 { 6118 {
6119 emsg(_("E683: File name missing or invalid pattern")); 6119 emsg(_(e_file_name_missing_or_invalid_pattern));
6120 return FAIL; 6120 return FAIL;
6121 } 6121 }
6122 6122
6123 // Parse the list of arguments, wildcards have already been expanded. 6123 // Parse the list of arguments, wildcards have already been expanded.
6124 if ((get_arglist_exp(p, &args->fcount, &args->fnames, TRUE) == FAIL) || 6124 if ((get_arglist_exp(p, &args->fcount, &args->fnames, TRUE) == FAIL) ||
7783 return FAIL; 7783 return FAIL;
7784 } 7784 }
7785 7785
7786 if (buf->b_ml.ml_mfp == NULL) 7786 if (buf->b_ml.ml_mfp == NULL)
7787 { 7787 {
7788 emsg(_("E681: Buffer is not loaded")); 7788 emsg(_(e_buffer_is_not_loaded));
7789 return FAIL; 7789 return FAIL;
7790 } 7790 }
7791 7791
7792 if (eap->addr_count == 0) 7792 if (eap->addr_count == 0)
7793 { 7793 {