Mercurial > vim
comparison src/fileio.c @ 26865:bce848ec8b1b v8.2.3961
patch 8.2.3961: error messages are spread out
Commit: https://github.com/vim/vim/commit/436b5adc9770a2568209dd5ab1f98bd1afc91898
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 31 22:49:24 2021 +0000
patch 8.2.3961: 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 00:00:04 +0100 |
parents | df2de1e63de0 |
children | 06a137af96f8 |
comparison
equal
deleted
inserted
replaced
26864:eb95ad159bce | 26865:bce848ec8b1b |
---|---|
2404 | 2404 |
2405 if (got_int) | 2405 if (got_int) |
2406 { | 2406 { |
2407 if (!(flags & READ_DUMMY)) | 2407 if (!(flags & READ_DUMMY)) |
2408 { | 2408 { |
2409 filemess(curbuf, sfname, (char_u *)_(e_interr), 0); | 2409 filemess(curbuf, sfname, (char_u *)_(e_interrupted), 0); |
2410 if (newfile) | 2410 if (newfile) |
2411 curbuf->b_p_ro = TRUE; // must use "w!" now | 2411 curbuf->b_p_ro = TRUE; // must use "w!" now |
2412 } | 2412 } |
2413 msg_scroll = msg_save; | 2413 msg_scroll = msg_save; |
2414 #ifdef FEAT_VIMINFO | 2414 #ifdef FEAT_VIMINFO |