comparison src/window.c @ 26602:fac6673086df v8.2.3830

patch 8.2.3830: error messages are spread out Commit: https://github.com/vim/vim/commit/e124204c4f8ea8b4fe5357b7613092a7acb5feb8 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 16 20:56:57 2021 +0000 patch 8.2.3830: 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 Thu, 16 Dec 2021 22:00:05 +0100
parents 255bc9a08e58
children fc859aea8cec
comparison
equal deleted inserted replaced
26601:dd5a2a697523 26602:fac6673086df
196 ? curwin->w_alt_fnum : Prenum) == NULL) 196 ? curwin->w_alt_fnum : Prenum) == NULL)
197 { 197 {
198 if (Prenum == 0) 198 if (Prenum == 0)
199 emsg(_(e_no_alternate_file)); 199 emsg(_(e_no_alternate_file));
200 else 200 else
201 semsg(_("E92: Buffer %ld not found"), Prenum); 201 semsg(_(e_buffer_nr_not_found), Prenum);
202 break; 202 break;
203 } 203 }
204 204
205 if (!curbuf_locked() && win_split(0, 0) == OK) 205 if (!curbuf_locked() && win_split(0, 0) == OK)
206 (void)buflist_getfile( 206 (void)buflist_getfile(