mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.4.108
Problem: "zG" and "zW" leave temp files around on MS-Windows. Solution: Delete the temp files when exiting. (Ken Takata)
This commit is contained in:
@@ -841,8 +841,11 @@ ml_close_all(del_file)
|
||||
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
|
||||
ml_close(buf, del_file && ((buf->b_flags & BF_PRESERVED) == 0
|
||||
|| vim_strchr(p_cpo, CPO_PRESERVE) == NULL));
|
||||
#ifdef FEAT_SPELL
|
||||
spell_delete_wordlist(); /* delete the internal wordlist */
|
||||
#endif
|
||||
#ifdef TEMPDIRNAMES
|
||||
vim_deltempdir(); /* delete created temp directory */
|
||||
vim_deltempdir(); /* delete created temp directory */
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user