Mercurial > vim
comparison src/vim.h @ 18886:050f5eaa9e50 v8.2.0004
patch 8.2.0004: get E685 and E931 if buffer reload is interrupted
Commit: https://github.com/vim/vim/commit/a6e8f888e7fc31b8ab7233509254fb2e2fe4089f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 14 16:18:15 2019 +0100
patch 8.2.0004: get E685 and E931 if buffer reload is interrupted
Problem: Get E685 and E931 if buffer reload is interrupted.
Solution: Do not abort deleting a dummy buffer. (closes https://github.com/vim/vim/issues/5361)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 14 Dec 2019 16:30:04 +0100 |
parents | ba8dc10a2c0d |
children | e378907d79bf |
comparison
equal
deleted
inserted
replaced
18885:f4852c310de1 | 18886:050f5eaa9e50 |
---|---|
2456 #define VIF_WANT_MARKS 2 // load file marks | 2456 #define VIF_WANT_MARKS 2 // load file marks |
2457 #define VIF_FORCEIT 4 // overwrite info already read | 2457 #define VIF_FORCEIT 4 // overwrite info already read |
2458 #define VIF_GET_OLDFILES 8 // load v:oldfiles | 2458 #define VIF_GET_OLDFILES 8 // load v:oldfiles |
2459 | 2459 |
2460 // flags for buf_freeall() | 2460 // flags for buf_freeall() |
2461 #define BFA_DEL 1 // buffer is going to be deleted | 2461 #define BFA_DEL 1 // buffer is going to be deleted |
2462 #define BFA_WIPE 2 // buffer is going to be wiped out | 2462 #define BFA_WIPE 2 // buffer is going to be wiped out |
2463 #define BFA_KEEP_UNDO 4 // do not free undo information | 2463 #define BFA_KEEP_UNDO 4 // do not free undo information |
2464 #define BFA_IGNORE_ABORT 8 // do not abort for aborting() | |
2464 | 2465 |
2465 // direction for nv_mousescroll() and ins_mousescroll() | 2466 // direction for nv_mousescroll() and ins_mousescroll() |
2466 #define MSCR_DOWN 0 // DOWN must be FALSE | 2467 #define MSCR_DOWN 0 // DOWN must be FALSE |
2467 #define MSCR_UP 1 | 2468 #define MSCR_UP 1 |
2468 #define MSCR_LEFT -1 | 2469 #define MSCR_LEFT -1 |