updated for version 7.0100
diff --git a/src/eval.c b/src/eval.c
index 66aed74..af2c73d 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -13463,7 +13463,7 @@
 
     /* Get the length of the word and copy it. */
     ptr = ml_get_cursor();
-    len = spell_check(curwin, ptr, &attr);
+    len = spell_check(curwin, ptr, &attr, NULL);
     rettv->vval.v_string = vim_strnsave(ptr, len);
 #endif
 }