comparison src/spell.c @ 26877:06a137af96f8 v8.2.3967

patch 8.2.3967: error messages are spread out Commit: https://github.com/vim/vim/commit/460ae5dfca31fa627531c263184849976755cf6b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 14:19:49 2022 +0000 patch 8.2.3967: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 15:30:05 +0100
parents bce848ec8b1b
children d92e0d85923f
comparison
equal deleted inserted replaced
26876:601a973ac16c 26877:06a137af96f8
1244 no_spell_checking(win_T *wp) 1244 no_spell_checking(win_T *wp)
1245 { 1245 {
1246 if (!wp->w_p_spell || *wp->w_s->b_p_spl == NUL 1246 if (!wp->w_p_spell || *wp->w_s->b_p_spl == NUL
1247 || wp->w_s->b_langp.ga_len == 0) 1247 || wp->w_s->b_langp.ga_len == 0)
1248 { 1248 {
1249 emsg(_(e_no_spell)); 1249 emsg(_(e_spell_checking_is_not_possible));
1250 return TRUE; 1250 return TRUE;
1251 } 1251 }
1252 return FALSE; 1252 return FALSE;
1253 } 1253 }
1254 1254