diff src/memline.c @ 5519:fa31c5b82424 v7.4.108

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)
author Bram Moolenaar <bram@vim.org>
date Thu, 28 Nov 2013 17:41:46 +0100
parents 38b948f534e4
children 391e10afccf6
line wrap: on
line diff
--- 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
 }