summaryrefslogtreecommitdiffstats
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-28 17:41:46 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-28 17:41:46 +0100
commit34b466edfe6acdf610899da18e81537a8e5d52c8 (patch)
treefb0426499272df694804296ad1e1c3cf25fd8702 /src/memline.c
parent9fee7d4729af19e7ce4950ede8de358c5eeb3772 (diff)
updated for version 7.4.108v7.4.108
Problem: "zG" and "zW" leave temp files around on MS-Windows. Solution: Delete the temp files when exiting. (Ken Takata)
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c
index 2f08557f82..ea6571cb2d 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -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
}