vim-patch:8.0.1513: the jumplist is not always properly cleaned up

Problem:    The jumplist is not always properly cleaned up.
Solution:   Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan)
4867974137
This commit is contained in:
Jan Edmund Lazo
2019-05-19 08:34:04 -04:00
parent d6d9596b38
commit 4aad4c0533
3 changed files with 21 additions and 11 deletions

View File

@@ -2739,7 +2739,7 @@ static ShaDaWriteResult shada_write(ShaDaWriteDef *const sd_writer,
// Initialize jump list
const void *jump_iter = NULL;
cleanup_jumplist(curwin);
cleanup_jumplist(curwin, false);
setpcmark();
do {
xfmark_T fm;