Mercurial > vim
comparison src/ex_getln.c @ 26861:df2de1e63de0 v8.2.3959
patch 8.2.3959: error messages are spread out
Commit: https://github.com/vim/vim/commit/6d0570117ac86b7979bf249de5741088212d6e17
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 31 18:49:43 2021 +0000
patch 8.2.3959: 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 | Fri, 31 Dec 2021 20:00:05 +0100 |
parents | 34f1b7d6974a |
children | bce848ec8b1b |
comparison
equal
deleted
inserted
replaced
26860:07ad81bfab52 | 26861:df2de1e63de0 |
---|---|
4388 // Safety check: The old window or buffer was deleted: It's a bug when | 4388 // Safety check: The old window or buffer was deleted: It's a bug when |
4389 // this happens! | 4389 // this happens! |
4390 if (!win_valid(old_curwin) || !bufref_valid(&old_curbuf)) | 4390 if (!win_valid(old_curwin) || !bufref_valid(&old_curbuf)) |
4391 { | 4391 { |
4392 cmdwin_result = Ctrl_C; | 4392 cmdwin_result = Ctrl_C; |
4393 emsg(_("E199: Active window or buffer deleted")); | 4393 emsg(_(e_active_window_or_buffer_deleted)); |
4394 } | 4394 } |
4395 else | 4395 else |
4396 { | 4396 { |
4397 # if defined(FEAT_EVAL) | 4397 # if defined(FEAT_EVAL) |
4398 // autocmds may abort script processing | 4398 // autocmds may abort script processing |