updated for version 7.0070
diff --git a/src/buffer.c b/src/buffer.c
index 993e14d..9772336 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2390,6 +2390,11 @@
     if (p_fdls >= 0)
 	curwin->w_p_fdl = p_fdls;
 #endif
+
+#ifdef FEAT_SYN_HL
+    if (curwin->w_p_spell && *buf->b_p_spl != NUL)
+	did_set_spelllang(buf);
+#endif
 }
 
 /*